Skip to content

Commit

Permalink
fix: test using gosu manually to invoke as different users
Browse files Browse the repository at this point in the history
  • Loading branch information
pgguru committed Feb 5, 2024
1 parent c593e64 commit 3f32c58
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ jobs:
pg: [16, 15, 14, 13, 12]
name: 🐘 PostgreSQL ${{ matrix.pg }}
runs-on: ubuntu-latest
container:
image: pgxn/pgxn-tools
options: "-e AS_USER=pgtest"
container: pgxn/pgxn-tools
steps:
- run: AS_USER=pg_test /usr/local/bin/entrypoint.sh
- run: pg-start ${{ matrix.pg }}
- uses: actions/checkout@v4
- run: pg-build-test
- run: gosu pg_test pg-build-test

0 comments on commit 3f32c58

Please sign in to comment.