Skip to content

Commit

Permalink
Use proper directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Apr 5, 2024
1 parent 3403ee9 commit 29ad07b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,13 @@ jobs:
- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
- name: Remove Data Diretory
run: rm -rf target/pgrx-test-${{ matrix.pg }}
run: rm -rf target/pgrx-test-data-${{ matrix.pg }}
- name: Install pgrx
run: cargo install cargo-pgrx --locked --version "$(make pgrx-version)"
- name: Initialize pgrx
run: cargo pgrx init --pg${{ matrix.pg }}="$(which pg_config)"
- run: ls -lah target/ && ls -lah target/pgrx-test-${{ matrix.pg }}
- name: Run the tests
env: { RUST_BACKTRACE: 1, PGUSER: postgres }
run: cargo test --all --no-default-features --features "pg${{ matrix.pg }} pg_test" -- --nocapture
- name: Remove Data Diretory
run: rm -rf target/pgrx-test-${{ matrix.pg }}
run: rm -rf target/pgrx-test-data-${{ matrix.pg }}

0 comments on commit 29ad07b

Please sign in to comment.