mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Simplify coverage workflow reporting
``PYTHONDEVMODE`` and ``PYTHONWARNDEFAULTENCODING`` are used in the main tests, remove from the coverage workflow.
This commit is contained in:
6
.github/workflows/coverage.yml
vendored
6
.github/workflows/coverage.yml
vendored
@@ -32,12 +32,8 @@ jobs:
|
||||
python -m pip install .[test] pytest-cov
|
||||
|
||||
- name: Test with pytest
|
||||
run: python -m pytest -vv
|
||||
run: python -m pytest -vv --cov . --cov-append --cov-config pyproject.toml
|
||||
env:
|
||||
PYTHONDEVMODE: "1" # -X dev
|
||||
PYTHONWARNDEFAULTENCODING: "1" # -X warn_default_encoding
|
||||
PYTHONWARNINGS: "error,always:unclosed:ResourceWarning,always::CoverageWarning"
|
||||
PYTEST_ADDOPTS: "--cov ./ --cov-append --cov-config pyproject.toml"
|
||||
VIRTUALENV_SYSTEM_SITE_PACKAGES: "1"
|
||||
|
||||
- name: codecov
|
||||
|
||||
Reference in New Issue
Block a user