Skip to content

Commit 698b373

Browse files
committed
Removes default coverage reporting and offloads to actions
1 parent 89b20e1 commit 698b373

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/testing.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
130130
init_cime
131131
132-
pytest -vvv --machine docker --no-fortran-run CIME/tests/test_unit*
132+
pytest -vvv --cov=CIME --machine docker --no-fortran-run CIME/tests/test_unit*
133133
134134
# Run system tests
135135
system-testing:
@@ -182,7 +182,7 @@ jobs:
182182
183183
conda activate base
184184
185-
pytest -vvv --machine docker --no-fortran-run --no-teardown CIME/tests/test_sys*
185+
pytest -vvv --cov=CIME --machine docker --no-fortran-run --no-teardown CIME/tests/test_sys*
186186
- name: Create testing log archive
187187
if: ${{ failure() }}
188188
shell: bash

setup.cfg

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ console_scripts =
1616

1717
[tool:pytest]
1818
junit_family=xunit2
19-
addopts = --cov=CIME --cov-report term-missing --cov-report html:test_coverage/html --cov-report xml:test_coverage/coverage.xml -s
2019
python_files = test_*.py
2120
testpaths =
2221
CIME/tests

0 commit comments

Comments
 (0)