Skip to content
Myr

Replacing pytest-cov by coverage (#1353)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by cdeler · committed by GitHub · parent 0123bca · Browse files · 3 files+7 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+7 added−3 removed

  • other:+7 added−3 removed

3 files+7 added−3 removed

modified:scripts/test+1 added-1 removed
9 unmodified lines
10if [ -z $GITHUB_ACTIONS ]; then11 scripts/check12fi1314${PREFIX}pytest $@14${PREFIX}coverage run -m pytest1516if [ -z $GITHUB_ACTIONS ]; then17 scripts/coverage18fi
modified:requirements.txt+1 added-1 removed
13 unmodified lines
1415# Tests & Linting16autoflake17black==20.8b118coverage==5.319cryptography20flake821flake8-bugbear22flake8-pie==0.5.*
1 unmodified line
24mypy25pytest==5.*26pytest-asyncio27pytest-trio27pytest-cov28trio29trio-typing30trustme31uvicorn
2 unmodified lines
modified:setup.cfg+5 added-1 removed
13 unmodified lines
14profile = black15combine_as_imports = True1617[tool:pytest]18addopts = --cov=httpx --cov=tests -rxXs18addopts = -rxXs19markers =20 copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup2122[coverage:run]23omit = venv/*24include = httpx/*, tests/*