Skip to content

Commit 982c1ae

Browse files
authored
ci: remove coverage from the wheel testing process (#229)
* test: move cov option in gh action * ci: remove cov in wheel testing * test: adding --cov flag
1 parent 984e6df commit 982c1ae

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/run-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
python -m pip install .[test,display]
5151
- name: Test with pytest
5252
run: |
53-
python -m pytest --cov
53+
python -m pytest --cov --cov-report=xml --cov-report=term:skip-covered
5454
- name: Upload coverage to Codecov
5555
uses: codecov/codecov-action@v2
5656
with:

.github/workflows/upload-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
CIBW_BUILD_VERBOSITY: 3
1111
SETUPTOOLS_SCM_PRETEND_VERSION: ${{ github.event.inputs.overrideVersion }}
1212
# Run the package tests using `pytest`
13-
CIBW_TEST_REQUIRES: pytest pytest-cov
13+
CIBW_TEST_REQUIRES: pytest
1414
CIBW_TEST_COMMAND: pytest {project}/tests
1515

1616
jobs:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ build-backend = "setuptools.build_meta"
1515
# https://docs.pytest.org/en/stable/customize.html#pyproject-toml
1616
[tool.pytest.ini_options]
1717
minversion = "6.0"
18-
addopts = "--cov-report=xml --cov-report=term:skip-covered"
18+
addopts = "-vv"
1919
testpaths = ["tests"]
2020

2121
[tool.setuptools_scm]

0 commit comments

Comments
 (0)