Skip to content

Commit 33d3ebe

Browse files
committed
display coverage in CI
1 parent 3bc71d4 commit 33d3ebe

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,12 @@ jobs:
110110
python -m pip install --no-deps .
111111
112112
- name: Run tests
113+
run: |
114+
pytest -v --disable-pytest-warnings --durations=20 --low-performance --cov=gromacs --cov-report=xml --cov-report=term-missing --color=yes ./tests
115+
116+
- name: Coverage report
113117
run: |
114-
pytest -v --disable-pytest-warnings --durations=20 --low-performance --cov=gromacs --cov-report=xml --color=yes ./tests
118+
coverage report --show-missing
115119
116120
- name: Codecov
117121
uses: codecov/codecov-action@v4

ci/conda-envs/test_env.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ dependencies:
1313
- codecov
1414
- pytest
1515
- pytest-cov
16-
- pytest-pep8
16+
- pytest-pep8
17+
- coverage

0 commit comments

Comments
 (0)