Skip to content

Commit 5515ded

Browse files
Add Testing and Checks Completed step
1 parent 9396bd3 commit 5515ded

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,3 +219,16 @@ jobs:
219219
run: dart run dart_dev test
220220
if: always() && steps.install.outcome == 'success'
221221
timeout-minutes: 8
222+
223+
testing-and-checks-complete:
224+
name: Testing and Checks Completed
225+
needs: [ build, checks, test, validate_analyzer, analyzer_plugin ]
226+
if: ${{ !cancelled() && github.event_name == 'pull_request' || github.ref_type == 'tag' }}
227+
runs-on: [ xs-al2023 ]
228+
steps:
229+
- run: |
230+
if [ "${{ needs.checks.result }}" == "failure" ]; then
231+
echo "Some checks have failed. Please fix the issues and try again."
232+
exit 1
233+
fi
234+
echo 'All Testing and checks have completed.'

0 commit comments

Comments
 (0)