Skip to content

Commit

Permalink
Fix windows package test
Browse files Browse the repository at this point in the history
  • Loading branch information
svenklemm committed Jan 25, 2025
1 parent 2194a61 commit 65da369
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/windows-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ jobs:
run: |
tar -xf timescaledb.zip
cd timescaledb
./setup.exe -yes-tune -pgconfig "$HOME/PostgreSQL/${{ matrix.pg }}/bin/pg_config"
./setup.exe -no-tune -pgconfig "$HOME/PostgreSQL/${{ matrix.pg }}/bin/pg_config"
pwd
ls
- name: Create DB
run: |
Expand All @@ -116,7 +118,8 @@ jobs:
run: |
~/PostgreSQL/${{ matrix.pg }}/bin/psql -U postgres -d postgres -X `
-c "CREATE EXTENSION timescaledb" `
-c "SELECT extname,extversion,version() FROM pg_extension WHERE extname='timescaledb'"
-c "SELECT version(), current_setting('config_file')" `
-c "SELECT extname,extversion FROM pg_extension WHERE extname='timescaledb'"
$installed_version = ~/PostgreSQL/${{ matrix.pg }}/bin/psql -U postgres `
-d postgres -qtAX -c "SELECT extversion FROM pg_extension WHERE extname='timescaledb'"
$installed_version = $installed_version.Trim()
Expand Down

0 comments on commit 65da369

Please sign in to comment.