Skip to content

Commit

Permalink
ci: fix incorrect python version being used in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pjhartzell committed Jan 28, 2025
1 parent 80ca7b0 commit 7d03976
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- run: pipx install poetry==1.7.1
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Install dependencies
run: poetry install --with=dev
- name: Lint code
if: ${{ matrix.python-version == 3.12 }}
- name: Install
run: |
python -m pip install pre-commit
pre-commit run --all-files
- name: Type-check code
if: ${{ matrix.python-version == 3.12 }}
run: poetry run mypy src
- name: Run tests
run: poetry run nox
python -m pip install poetry==1.7.1
poetry install --with=dev
- name: Lint
run: |
poetry run pre-commit run --all-files
- name: Test
run: poetry run pytest

0 comments on commit 7d03976

Please sign in to comment.