Fix GitHub Actions workflow to handle repositories without tests (#1)
* Initial plan * Fix workflow to handle missing tests gracefully Co-authored-by: alexpolo1 <14327609+alexpolo1@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: alexpolo1 <14327609+alexpolo1@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/python-app.yml
vendored
2
.github/workflows/python-app.yml
vendored
@@ -36,4 +36,4 @@ jobs:
|
||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
||||
- name: Test with pytest
|
||||
run: |
|
||||
pytest
|
||||
pytest || [ $? = 5 ]
|
||||
|
||||
Reference in New Issue
Block a user