Skip to content

Commit 96b5dc3

Browse files
Clean up yml file
1 parent c04e71f commit 96b5dc3

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/playwright.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,8 @@ jobs:
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
@@ -50,7 +44,7 @@ jobs:
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 ✅

0 commit comments

Comments
 (0)