From 33fdd4dff87ef3c0407cf0449a55fb4723aa3992 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Fri, 28 Aug 2026 15:09:02 +0200 Subject: [PATCH] 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> --- .github/workflows/python-app.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 1168bd9..7474b9a 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -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 ]