Skip to content

Commit

Permalink
Run tests as postgres user
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Apr 12, 2024
1 parent 78eb31f commit a9ee0c8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
- name: Format and Lint
run: make lint
- name: Generate Coverage
env: { RUST_BACKTRACE: 1, PGUSER: postgres }
run: make cover
run: make cover RUST_BACKTRACE=1 PGUSER=postgres
- name: Publish Coverage
uses: codecov/codecov-action@v4
with:
Expand Down Expand Up @@ -60,11 +59,10 @@ jobs:
- name: Initialize pgrx
run: make pgrx-init
- name: Run the tests
env: { RUST_BACKTRACE: 1, PGUSER: postgres }
run: make test
run: make test RUST_BACKTRACE=1 PGUSER=postgres
- name: Install
run: make install
- name: Run Install Check
run: make installcheck
run: make installcheck PGUSER=POSTGRES
- name: Remove Data Diretory
run: rm -rf target/pgrx-test-data-${{ matrix.pg }}

0 comments on commit a9ee0c8

Please sign in to comment.