Skip to content

Commit

Permalink
Merge pull request #367 from thomassth/actions
Browse files Browse the repository at this point in the history
parallel testing
  • Loading branch information
thomassth authored Nov 28, 2021
2 parents a3f3ff2 + 46ffaf8 commit 580e341
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 580e341

Please sign in to comment.