Skip to content

Commit 144fcc4

Browse files
committed
Update CI to test multiple versions of node and latest weaviate
1 parent cd19fc8 commit 144fcc4

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/main.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99

1010
env:
11-
WEAVIATE_VERSION: 1.24.1
11+
WEAVIATE_VERSION: 1.25.0
1212

1313
jobs:
1414
checks:
@@ -27,15 +27,23 @@ jobs:
2727
tests:
2828
needs: checks
2929
runs-on: ubuntu-latest
30+
strategy:
31+
fail-fast: false
32+
matrix:
33+
versions: [
34+
{ node: "18.x", weaviate: $WEAVIATE_VERSION},
35+
{ node: "20.x", weaviate: $WEAVIATE_VERSION},
36+
{ node: "22.x", weaviate: $WEAVIATE_VERSION}
37+
]
3038
steps:
3139
- uses: actions/checkout@v3
3240
- uses: actions/setup-node@v3
3341
with:
34-
node-version: '18.x'
42+
node-version: ${{ matrix.versions.node }}
3543
- name: "Install dependencies"
3644
run: |
3745
npm install
38-
ci/run_dependencies.sh ${{ env.WEAVIATE_VERSION }}
46+
ci/run_dependencies.sh ${{ matrix.versions.weaviate }}
3947
- name: "Run tests with authentication tests"
4048
if: ${{ !github.event.pull_request.head.repo.fork }}
4149
env:
@@ -52,7 +60,7 @@ jobs:
5260
npm test
5361
npm run build
5462
- name: "Stop Weaviate"
55-
run: ci/stop_dependencies.sh ${{ env.WEAVIATE_VERSION }}
63+
run: ci/stop_dependencies.sh ${{ matrix.versions.weaviate }}
5664

5765
publish:
5866
needs: tests

0 commit comments

Comments
 (0)