Skip to content

Commit

Permalink
ENH: run pytest in actions instead of coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
CavRiley committed Apr 2, 2024
1 parent 9093c8a commit c89c09d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/push_to_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ jobs:
- name: Run pre-commit hooks
run: pre-commit run --all-files

- name: Run coverage
run: |
coverage run --concurrency=multiprocessing --parallel-mode -m pytest tests --junitxml=tests/pytest.xml
coverage combine
coverage report --format=text -m |tee tests/pytest-coverage.txt
# - name: Run coverage
# run: |
# coverage run --concurrency=multiprocessing --parallel-mode -m pytest tests --junitxml=tests/pytest.xml
# coverage combine
# coverage report --format=text -m |tee tests/pytest-coverage.txt

- name: Run tests
run: pytest

- name: Build documentation with Sphinx
run: |
Expand Down

0 comments on commit c89c09d

Please sign in to comment.