Skip to content

Commit e99ab75

Browse files
committed
more output
1 parent a4c96e1 commit e99ab75

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,24 @@ jobs:
6262
continue-on-error: true
6363
with:
6464
environment-paths: "${{ toJSON(matrix.env-paths) }}"
65+
- name: setup status
66+
shell: bash -l {0}
67+
run: |
68+
echo "STATUS=0" >> $GITHUB_ENV
6569
- name: detect unexpected failures
6670
if: |
6771
failure() && ${{ matrix.expected-failure }} == "false"
6872
shell: bash -l {0}
6973
run: |
74+
echo "unexpected failure"
7075
echo "STATUS=1" >> $GITHUB_ENV
7176
- name: detect unexpected passes
7277
if: |
7378
success() && ${{ matrix.expected-failure }} == "true"
7479
shell: bash -l {0}
7580
run: |
76-
echo "STATUS=0" >> $GITHUB_ENV
81+
echo "unexpected pass"
82+
echo "STATUS=2" >> $GITHUB_ENV
7783
- name: evaluate status
7884
shell: bash -l {0}
7985
run: |

0 commit comments

Comments
 (0)