We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dcd645 commit 1a4eb5bCopy full SHA for 1a4eb5b
.github/workflows/e2e.yml
@@ -82,11 +82,11 @@ jobs:
82
if: always() # Always run this step to check for failures
83
run: |
84
echo "Checking for failed_scenarios.txt"
85
- if [ -f ./plugin/target/failed_scenarios.txt ]; then
+ if [ -s ./plugin/target/failed_scenarios.txt ]; then # -s checks if the file is non-empty
86
echo "Found failed scenarios. Running retry tests."
87
mvn -f ./plugin/pom.xml verify -Dtest=**/${{ matrix.tests }}/**/RetryTestRunner
88
else
89
- echo "No failed scenarios found."
+ echo "No failed scenarios found or file is empty."
90
fi
91
- name: Upload debug files
92
uses: actions/upload-artifact@v3
0 commit comments