Skip to content

Commit

Permalink
use tox in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tcm5343 committed Feb 8, 2025
1 parent c2af25a commit 26cd4cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
17 changes: 5 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,19 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
- 'ubuntu-latest'
- 'windows-latest'
- 'mac-latest'
os: ['ubuntu-latest', 'windows-latest']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: '3.13'
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: install deps
run: pip install -r requirements.txt -r requirements-dev.txt
run: pip install -r requirements-dev.txt

- name: lint
run: ruff check
Expand All @@ -37,9 +35,4 @@ jobs:
run: ruff format --check

- name: test
run: |
pip install --editable .
pytest --cov=./src/ ./tests/
- name: coverage
run: coverage report
run: tox -e py
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ pytest-subtests==0.14.1
pytest-sugar==1.0.0
pytest==8.3.4
ruff==0.9.4
tox==4.24.1

0 comments on commit 26cd4cc

Please sign in to comment.