Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Merge pull request #21 from flutter/jtmcdole-patch-3
Browse files Browse the repository at this point in the history
Update dart_mq.yml to look at the message for FAIL MQ
  • Loading branch information
jtmcdole authored Oct 24, 2024
2 parents d2700c0 + e252dfc commit 4eec39e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/dart_mq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,13 @@ jobs:
# want to change this to 'flutter test'.
- name: Run tests
run: dart --define=test_delay=30.0 test

- name: Test title for fail
env:
MESSAGE: ${{ github.event.merge_group.head_commit.message }}
run: |
if [[ "$MESSAGE" == *"FAIL_MQ"* ]]; then
echo "Found FAIL_MQ in MESSAGE. Failing the action."
exit 1
fi
echo "MESSAGE does not contain FAIL_MQ. Proceeding..."

0 comments on commit 4eec39e

Please sign in to comment.