-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
14c704f
commit e79f486
Showing
6 changed files
with
27 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
postgres: [ 13, 14, 15, 16, 17 ] | ||
postgres: [ 14, 15, 16, 17 ] | ||
env: | ||
PG_MAJOR: ${{ matrix.postgres }} | ||
|
||
|
@@ -91,7 +91,7 @@ jobs: | |
- name: Install and configure pgrx | ||
run: | | ||
cargo install --locked [email protected] | ||
cargo pgrx init --pg${{ env.PG_MAJOR }} /usr/lib/postgresql/${{ env.PG_MAJOR }}/bin/pg_config | ||
cargo pgrx init --pg${{ env.PG_MAJOR }} $(which pg_config) | ||
- name: Install cargo-llvm-cov for coverage report | ||
run: cargo install --locked [email protected] | ||
|
@@ -104,9 +104,9 @@ jobs: | |
- name: Run tests | ||
run: | | ||
# Set up permissions so that the current user below can create extensions | ||
sudo chmod a+rwx $(/usr/lib/postgresql/${{ env.PG_MAJOR }}/bin/pg_config --pkglibdir) \ | ||
$(/usr/lib/postgresql/${{ env.PG_MAJOR }}/bin/pg_config --sharedir)/extension \ | ||
/var/run/postgresql/ | ||
sudo chmod a+rwx $(pg_config --pkglibdir) \ | ||
$(pg_config --sharedir)/extension \ | ||
/var/run/postgresql/ | ||
# pgrx tests with runas argument ignores environment variables, so | ||
# we read env vars from .env file in tests (https://github.com/pgcentralfoundation/pgrx/pull/1674) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters