Skip to content

Commit 1a4eb5b

Browse files
committed
debugging failures
1 parent 1dcd645 commit 1a4eb5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ jobs:
8282
if: always() # Always run this step to check for failures
8383
run: |
8484
echo "Checking for failed_scenarios.txt"
85-
if [ -f ./plugin/target/failed_scenarios.txt ]; then
85+
if [ -s ./plugin/target/failed_scenarios.txt ]; then # -s checks if the file is non-empty
8686
echo "Found failed scenarios. Running retry tests."
8787
mvn -f ./plugin/pom.xml verify -Dtest=**/${{ matrix.tests }}/**/RetryTestRunner
8888
else
89-
echo "No failed scenarios found."
89+
echo "No failed scenarios found or file is empty."
9090
fi
9191
- name: Upload debug files
9292
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)