mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Simple fixes to the coverage
Nox session
This commit is contained in:
parent
7c3fd811a6
commit
5c916121a9
1 changed files with 3 additions and 3 deletions
|
@ -225,14 +225,14 @@ def vendoring(session: nox.Session) -> None:
|
|||
|
||||
|
||||
@nox.session
|
||||
def coverage(session: nox.Session):
|
||||
def coverage(session: nox.Session) -> None:
|
||||
if not os.path.exists("./.coverage-output"):
|
||||
os.mkdirs("./coverage-output")
|
||||
session.run(
|
||||
"pytest",
|
||||
"--cov=pip",
|
||||
"--cov-config=./setup.cfg"
|
||||
env={
|
||||
"--cov-config=./setup.cfg",
|
||||
env = {
|
||||
"COVERAGE_OUTPUT_DIR": "./coverage-output",
|
||||
"COVERAGE_PROCESS_START": "./setup.cfg",
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue