From 039d688660e26ba3b39f0d0437afbee30cff9ab5 Mon Sep 17 00:00:00 2001 From: Alex Li Date: Sun, 12 Nov 2023 19:37:07 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Escape=20exit=20code=2079?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5c1d5bdac..f19f0e0db 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,10 +58,10 @@ jobs: - name: '[Verify step] Publish dry-run' run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" -- "dart pub publish --dry-run" - name: '[Verify step] Test Dart packages [VM]' - run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --no-flutter -- "dart test --chain-stack-traces --platform=vm" + run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --no-flutter -- "dart test --chain-stack-traces --platform=vm && [ $? -eq 79 ] && exit 0" - name: '[Verify step] Test Dart packages [Chrome]' - run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --no-flutter -- "dart test --chain-stack-traces --platform=chrome" + run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --no-flutter -- "dart test --chain-stack-traces --platform=chrome && [ $? -eq 79 ] && exit 0" - name: '[Verify step] Test Dart packages [Firefox]' - run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --no-flutter -- "dart test --chain-stack-traces --platform=firefox" + run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --no-flutter -- "dart test --chain-stack-traces --platform=firefox && [ $? -eq 79 ] && exit 0" - name: '[Verify step] Test Flutter packages' run: melos exec $(eval echo $IGNORED_PACKAGES) --ignore="*example*" --flutter -- "flutter test"