Skip to content

Commit

Permalink
Run unit tests with all supported Python versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
dokterbob committed Aug 28, 2024
1 parent 86798bc commit 242e8e1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ name: Pytest
on: [workflow_call]

jobs:
mypy:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
defaults:
run:
working-directory: ./backend
Expand All @@ -13,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Poetry
run: pip install poetry
Expand Down

0 comments on commit 242e8e1

Please sign in to comment.