Skip to content

Commit 02abe1d

Browse files
authored
install old w/ trunk in upgrade test (#217)
* install old w/ trunk * use correct vectorize ver * test from 0.18 * 0.20
1 parent d0b42d5 commit 02abe1d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/extension_upgrade.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,17 @@ jobs:
5050
- name: Install project dependencies
5151
run: |
5252
make setup
53-
- name: Test previous version (main))
53+
cargo install pg-trunk
54+
- name: Test previous version (v0.20.0)
5455
env:
5556
HF_API_KEY: ${{ secrets.HF_API_KEY }}
5657
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
5758
CO_API_KEY: ${{ secrets.CO_API_KEY }}
5859
run: |
60+
trunk install vectorize --version 0.20.0 --pg-config $(cargo pgrx info pg-config pg17)
5961
git fetch --tags
60-
git checkout main
61-
echo "\q" | make run
62-
cargo test -- --ignored --test-threads=1
62+
git checkout tags/v0.20.0
63+
make test-integration
6364
- name: Test branch's version
6465
env:
6566
CI_BRANCH: ${{ steps.current-version.outputs.CI_BRANCH }}

0 commit comments

Comments
 (0)