Skip to content

Commit

Permalink
ci(workflow): update Python version and linting process
Browse files Browse the repository at this point in the history
- Add Python 3.13 to the test matrix
- Replace "Install project and dependent tools" step with separate linting and type checking steps
- Update step names to be more descriptive
- Remove unnecessary run block for installation
  • Loading branch information
tanbro committed Jan 21, 2025
1 parent 763a359 commit 28cfdfe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand All @@ -46,11 +46,11 @@ jobs:
cache: "pip"

- name: Install project and dependent tools
run: |
pip install -e . coverage ruff
- name: Check with ruff
run: |
ruff check .
run: pip install -e . coverage ruff mypy types-PyYAML
- name: Lint with ruff
run: ruff check
- name: Static type check with mypy
run: mypy
- name: Test with coverage
run: |
coverage run -m unittest -fcv
Expand Down

0 comments on commit 28cfdfe

Please sign in to comment.