Skip to content

Commit

Permalink
update ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuffat committed Feb 5, 2023
1 parent 9221942 commit d25ccbc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.10"]
python-version: ["3.7", "3.11"]
sqlalchemy-version: ["1.4.*", "2.0.*"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -21,9 +22,11 @@ jobs:
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: pip-test-${{ matrix.python-version }}-${{ matrix.os }}
key: pip-test-${{ matrix.python-version }}-${{ matrix.sqlalchemy-version }}-${{ matrix.os }}
- name: Install dependencies
run: pip install .[test] coveralls
run: |
pip install .[test] coveralls SQLAlchemy==${{ matrix.sqlalchemy-version }}
- name: Test with pytest
run: coverage run -m pytest
- name: Upload Coverage
Expand Down

0 comments on commit d25ccbc

Please sign in to comment.