Skip to content

Commit 722eb60

Browse files
committed
Tests against both numpy versions in CI.
1 parent 980af88 commit 722eb60

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/integration.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77

88
jobs:
99
run-e2e-tests:
10+
strategy:
11+
matrix:
12+
numpy-version: [ "1.*", "2.*" ]
1013
runs-on: ubuntu-latest
1114
environment: azure-prod
1215
env:
@@ -53,7 +56,15 @@ jobs:
5356
#----------------------------------------------
5457
# run test suite
5558
#----------------------------------------------
59+
- name: Install NumPy version
60+
run: |
61+
source .venv/bin/activate
62+
pip install "numpy==${{ matrix.numpy-version }}"
5663
- name: Run e2e tests
57-
run: poetry run python -m pytest tests/e2e
64+
run: |
65+
source .venv/bin/activate
66+
python -m pytest tests/e2e
5867
- name: Run SQL Alchemy tests
59-
run: poetry run python -m pytest src/databricks/sqlalchemy/test_local
68+
run: |
69+
source .venv/bin/activate
70+
python -m pytest src/databricks/sqlalchemy/test_local

0 commit comments

Comments
 (0)