Skip to content

Commit 093d132

Browse files
Add Testing and Checks Completed step
1 parent 4386d5b commit 093d132

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,16 @@ jobs:
2222
2323
unit-tests:
2424
uses: Workiva/gha-dart-oss/.github/workflows/test-unit.yaml@v0.1.11
25+
26+
testing-and-checks-complete:
27+
name: Testing and Checks Completed
28+
needs: [ build, checks, unit-tests ]
29+
if: ${{ !cancelled() && github.event_name == 'pull_request' || github.ref_type == 'tag' }}
30+
runs-on: [ xs-al2023 ]
31+
steps:
32+
- run: |
33+
if [ "${{ needs.checks.result }}" == "failure" ]; then
34+
echo "Some checks have failed. Please fix the issues and try again."
35+
exit 1
36+
fi
37+
echo 'All Testing and checks have completed.'

0 commit comments

Comments
 (0)