Skip to content

Commit 2113051

Browse files
Merge pull request #230 from firebase/feature/ak-goto-summary
Automatically expand summary step in failed jobs
2 parents 1be374e + f46605b commit 2113051

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/cpp-packaging.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,4 +693,8 @@ jobs:
693693
- name: Summarize build and test results
694694
if: ${{ !cancelled() }}
695695
shell: bash
696-
run: cat testapps/summary.log
696+
run: |
697+
cat testapps/summary.log
698+
if [[ "${{ job.status }}" != "success" ]]; then
699+
exit 1
700+
fi

.github/workflows/integration_tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,8 @@ jobs:
162162
- name: Summarize build and test results
163163
if: ${{ !cancelled() }}
164164
shell: bash
165-
run: cat testapps/summary.log
165+
run: |
166+
cat testapps/summary.log
167+
if [[ "${{ job.status }}" != "success" ]]; then
168+
exit 1
169+
fi

0 commit comments

Comments
 (0)