File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 2929 npm run test:ci:integration 2>&1 | tee output.txt
3030 continue-on-error : true
3131
32- # - name: Save test results to output
33- # id: test-results
34- # run: |
35- # echo "The test run had 5 failed tests and 2 flaky tests overall" > output.txt
36- # cat output.txt
37-
38- - name : Extract text between keywords (more robust)
39- id : extract
32+ - name : Extract test results between "failed" and "flaky"
33+ id : test-results
4034 run : |
4135 output=$(cat output.txt)
4236
5044 - name : Set failure workflow status 🚨
5145 if : steps.run-tests.outcome != 'success'
5246 run : |
53- echo '${{ steps.extract .outputs.extracted }}'
47+ echo '${{ steps.test-results .outputs.extracted }}'
5448 exit 1
5549
5650 - name : Set successful workflow status ✅
You can’t perform that action at this time.
0 commit comments