From 3aa91e677aa779281af548f00aa08b17639b81b2 Mon Sep 17 00:00:00 2001 From: Svetlana Derevyanko Date: Mon, 22 Jan 2024 12:27:16 +0300 Subject: [PATCH] Fixes for running tap tests: library for perl tests and option for running as non-priviliged user. --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4a191b..8112af5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,9 @@ jobs: name: 🐘 PostgreSQL ${{ matrix.pg }} runs-on: ubuntu-latest - container: pgxn/pgxn-tools + container: + image: pgxn/pgxn-tools + options: -e AS_USER=postgres steps: - name: Start PostgreSQL ${{ matrix.pg }} @@ -27,6 +29,6 @@ jobs: - name: Check out the repo uses: actions/checkout@v3 - name: Install extra build dependencies - run: sudo apt-get install -y liblz4-dev + run: sudo apt-get install -y liblz4-dev libipc-run-perl - name: Build and test on PostgreSQL ${{ matrix.pg }} run: PATH=$PATH:/usr/lib/postgresql/${{ matrix.pg }}/bin pg-build-test