Skip to content

Commit

Permalink
Add SQLAlchemy 1.4 and 2.0 to the test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Jan 29, 2023
1 parent 5acd794 commit 7a725f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
# TODO: add windows-latest
os: [ubuntu-latest, macos-latest]
python: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.9']
sqla: ['sqlalchemy<2', 'sqlalchemy>=2']
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -33,4 +34,4 @@ jobs:
python-version: ${{ matrix.python }}
- run: python -m pip install --upgrade pip wheel
- run: pip install tox tox-gh-actions
- run: tox
- run: SQLALCHEMY_VERSION="${{ matrix.sqla }}" tox
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ python =
[testenv]
commands=
pip install -e .
pip install {env:SQLALCHEMY_VERSION:sqlalchemy>=2}
pytest -p no:logging
deps=
pytest
Expand Down

0 comments on commit 7a725f2

Please sign in to comment.