Skip to content

Commit f830cc0

Browse files
committed
Ignored failure when reporting empty coverage
1 parent 0ba804c commit f830cc0

File tree

1 file changed

+2
-2
lines changed
  • exasol/toolbox/templates/github/workflows

1 file changed

+2
-2
lines changed

exasol/toolbox/templates/github/workflows/report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# Errors during copying are ignored because they are checked in the next step
3232
cp .coverage ../ || true
3333
cp lint-python3.9/.lint.txt ../ || true
34-
cp lint-python3.9/.lint.txt ../ || true
34+
cp lint-python3.9/.lint.json ../ || true
3535
cp security-python3.9/.security.json ../ || true
3636
3737
- name: Validate Artifacts
@@ -52,6 +52,6 @@ jobs:
5252
poetry run -- nox -s project:report -- --format markdown >> $GITHUB_STEP_SUMMARY
5353
poetry run -- nox -s dependency:licenses >> $GITHUB_STEP_SUMMARY
5454
echo -e "\n\n# Coverage\n" >> $GITHUB_STEP_SUMMARY
55-
poetry run coverage report -- --format markdown >> $GITHUB_STEP_SUMMARY
55+
poetry run coverage report -- --format markdown >> $GITHUB_STEP_SUMMARY || true
5656
poetry run -- tbx lint pretty-print >> $GITHUB_STEP_SUMMARY
5757
poetry run -- tbx security pretty-print .security.json >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)