Fix GitHub Actions workflow to handle repositories without tests (#1)
* Initial plan * Fix workflow to handle missing tests gracefully Co-authored-by: alexpolo1 <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: alexpolo1 <[email protected]>
This commit is contained in:
@@ -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