From 46ffaf84eb22c1c85628ef295b51a7a746fcb169 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 26 Nov 2021 21:37:19 +0800 Subject: [PATCH] parallel testing --- .github/workflows/dart.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 2df8f3f8..7b28d272 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -16,6 +16,23 @@ on: jobs: test: name: Build test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: subosito/flutter-action@v1 + with: + channel: "stable" + - run: dart --version + - run: flutter --version + - run: flutter test + - name: publish test + run: flutter pub publish --dry-run + - name: android build + run: | + cd example + flutter build appbundle + test-macos: + name: iOS build test runs-on: macos-latest steps: - uses: actions/checkout@v2 @@ -27,12 +44,8 @@ jobs: channel: "stable" - run: dart --version - run: flutter --version - - run: flutter test - name: iOS build run: | cd example flutter build ios --release --no-codesign - - name: android build - run: | - cd example - flutter build appbundle +