Skip to content

Commit

Permalink
💚 python versions matrix is user instead of tox is CI process
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytro Parfeniuk committed Jul 21, 2024
1 parent 65c1268 commit 4bc6060
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
code_quality:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.9, 3.10, 3.11, 3.12]

steps:
- uses: actions/checkout@v4
Expand All @@ -16,8 +19,16 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
pip install -e '.[code_quality]'
- name: Run tox
run: tox
- name: Run tests
run: python -m pytest tests

- name: Run linter
run: python -m ruff check src tests

- name: Check formatting
run: python -m black --check src tests && python -m isort --check src tests

- name: Check types
run: python -m mypy src tests

0 comments on commit 4bc6060

Please sign in to comment.