Skip to content

Commit c6331c0

Browse files
authored
Merge branch 'master' into k8s-parallelism
2 parents 97d7f3a + 53cadec commit c6331c0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/reusable-tox.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -407,10 +407,8 @@ jobs:
407407
if: >-
408408
!cancelled()
409409
&& steps.tox-run.outputs.test-result-files != ''
410-
# FIXME: revert to v1 once Codecov releases v1.0.2 of their action.
411-
# Ref: https://github.com/codecov/test-results-action/issues/108.
412-
# uses: codecov/test-results-action@v1
413-
uses: codecov/test-results-action@4e79e65778be1cecd5df25e14af1eafb6df80ea9
410+
# yamllint disable-line rule:line-length
411+
uses: codecov/test-results-action@4e79e65778be1cecd5df25e14af1eafb6df80ea9 # v1.0.2
414412
with:
415413
disable_search: true
416414
fail_ci_if_error: >-

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,12 @@ commands_post =
9191
cov_html_reports or sys.exit(); \
9292
cov_html_report_dir = pathlib.Path(cov_html_reports[-1]); \
9393
index_file = cov_html_report_dir / "index.html";\
94+
index_file.exists() or sys.exit(); \
9495
html_url = f"file://\{index_file\}";\
9596
browse_cmd = shlex.join(("python3", "-Im", "webbrowser", html_url)); \
9697
serve_cmd = shlex.join((\
9798
"python3", "-Im", "http.server", \
98-
"--directory", "cov_html_report_dir", "0", \
99+
"--directory", str(cov_html_report_dir), "0", \
99100
)); \
100101
print(f"\nTo open the HTML coverage report, run\n\n\
101102
\t\{browse_cmd !s\}\n");\

0 commit comments

Comments
 (0)