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:
Copilot
2026-08-28 15:09:02 +02:00
committed by GitHub
parent 14828ddd0f
commit 33fdd4dff8

View File

@@ -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 ]