We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe15ddb commit bacddc7Copy full SHA for bacddc7
{{cookiecutter.project_name}}/noxfile.py
@@ -155,11 +155,12 @@ def tests_python(session: Session) -> None:
155
session.log(f"Running test suite with py{session.python}.")
156
test_results_dir = Path("test-results")
157
test_results_dir.mkdir(parents=True, exist_ok=True)
158
- junitxml_file = test_results_dir / f"test-results-py{session.python}.xml"
+ junitxml_file = test_results_dir / f"test-results-py{session.python.replace('.', '')}.xml"
159
160
session.run(
161
"pytest",
162
"--cov={}".format(PACKAGE_NAME),
163
+ "--cov-append",
164
"--cov-report=term",
165
"--cov-report=xml",
166
f"--junitxml={junitxml_file}",
0 commit comments