Skip to content

Commit 4c41ea7

Browse files
committed
Added suppress-no-test-exit-code to check_and_deploy.yml (prevents error if there aren't any tests)
1 parent 547e789 commit 4c41ea7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/check_and_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Run tests
4545
run: |
4646
mkdir summary
47-
pytest --cov=python_ci_base --cov-report=markdown-append:summary/coverage.md --markdown-summary-file=summary/summary.md
47+
pytest --cov=python_ci_base --cov-report=markdown-append:summary/coverage.md --markdown-summary-file=summary/summary.md --suppress-no-test-exit-code
4848
echo -e "# Summary\n" >> $GITHUB_STEP_SUMMARY
4949
cat summary/summary.md >> $GITHUB_STEP_SUMMARY
5050
echo -e "\n# Coverage\n" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)