Skip to content

Commit a712511

Browse files
committed
always continue
1 parent 99e266b commit a712511

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/benchmarks.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
python -m pip install qa/tools
2020
python -m pip install -r qa/benchmarks/requirements.txt
2121
- name: Run benchmark pytest suite
22+
continue-on-error: true
2223
run: |
2324
cd qa/benchmarks
2425
mkdir report
@@ -42,11 +43,15 @@ jobs:
4243
APEX_ALGORITHMS_S3_ENDPOINT_URL: "https://s3.waw3-1.cloudferro.com"
4344
APEX_ALGORITHMS_S3_DEFAULT_REGION: "waw3-1"
4445

45-
- name: Capture pytest failures and create issues
46-
if: failure() # Only runs if pytest fails
47-
run: python test_failure_handler.py
46+
- name: Process test results and create issues
4847
env:
49-
ISSUE_TOKEN: ${{ secrets.ISSUE_TOKEN }} # GitHub token for issue creation
48+
ISSUE_TOKEN: ${{ secrets.ISSUE_TOKEN }}
49+
run: |
50+
if grep -q "FAILED" pytest_output.txt; then
51+
python .github/test_failure_handler.py
52+
else
53+
echo "No test failures detected"
54+
fi
5055
5156
- name: List local reports
5257
if: always()

0 commit comments

Comments
 (0)