Skip to content

Commit

Permalink
Tests against both numpy versions in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanJaguschQC committed Dec 5, 2024
1 parent 980af88 commit 722eb60
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
run-e2e-tests:
strategy:
matrix:
numpy-version: [ "1.*", "2.*" ]
runs-on: ubuntu-latest
environment: azure-prod
env:
Expand Down Expand Up @@ -53,7 +56,15 @@ jobs:
#----------------------------------------------
# run test suite
#----------------------------------------------
- name: Install NumPy version
run: |
source .venv/bin/activate
pip install "numpy==${{ matrix.numpy-version }}"
- name: Run e2e tests
run: poetry run python -m pytest tests/e2e
run: |
source .venv/bin/activate
python -m pytest tests/e2e
- name: Run SQL Alchemy tests
run: poetry run python -m pytest src/databricks/sqlalchemy/test_local
run: |
source .venv/bin/activate
python -m pytest src/databricks/sqlalchemy/test_local

0 comments on commit 722eb60

Please sign in to comment.