We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 657e2e5 commit 2804ae2Copy full SHA for 2804ae2
.github/workflows/test.yml
@@ -48,4 +48,5 @@ jobs:
48
- name: Run Tests
49
env:
50
HEADLESS: 1
51
+ NO_COVERAGE_CHECK: 1
52
run: nox
noxfile.py
@@ -7,7 +7,7 @@
7
8
9
HEADLESS = bool(int(os.environ.get("HEADLESS", "0")))
10
-PIP_NO_PEP517 = bool(int(os.environ.get("PIP_NO_PEP517", "0")))
+NO_COVERAGE_CHECK = bool(int(os.environ.get("NO_COVERAGE_CHECK", "0")))
11
BLACK_DEFAULT_EXCLUDE = r"\.eggs|\.git|\.hg|\.mypy_cache|\.nox|\.tox|\.venv|\.svn|_build|buck-out|build|dist"
12
13
@@ -32,6 +32,8 @@ def test_python(session: Session) -> None:
32
args = ["pytest", "tests"]
33
if HEADLESS:
34
args.append("--headless")
35
+ if NO_COVERAGE_CHECK:
36
+ args.append("--no-cov")
37
session.run(*args)
38
39
0 commit comments