Skip to content

Commit

Permalink
Update test CI workflow to run tests on python 3.8-3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
QMalcolm committed Jul 14, 2023
1 parent 0a94719 commit e49485a
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci-pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,21 @@ on:
- synchronize

jobs:
pre-commit:
name: Run Python Tests
pytest:
name: Run Tests / Python ${{ matrix.python-version }}

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-python-env
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Hatch
shell: bash
run: pip3 install hatch
- name: Run Python Tests
run: hatch run dev-env:pytest tests

0 comments on commit e49485a

Please sign in to comment.