Skip to content

Commit

Permalink
Avoid duplicate test runs in CI
Browse files Browse the repository at this point in the history
Tox is running the tests for every Python instance listed in tox.ini
when CI should just be calling pytest.
  • Loading branch information
calcmogul committed Nov 14, 2024
1 parent 8458230 commit fdfebec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,12 @@ jobs:
pip install dist/*.whl
shell: bash

- name: Install test dependencies
run: pip install tox

- name: Run unit tests
run: |
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
cd wpiformat
tox
pytest
- name: wpiformat - whole repo
run: |
Expand Down
12 changes: 0 additions & 12 deletions wpiformat/tox.ini

This file was deleted.

0 comments on commit fdfebec

Please sign in to comment.