Created
February 13, 2020 02:15
-
-
Save larryaasen/919bc5c4da8c49e884b555e2e16d4a0f to your computer and use it in GitHub Desktop.
GitHub Action for Flutter app using macOS and running Flutter tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
build-and-test: | |
runs-on: macOS-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '12.x' | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: 'stable' | |
# Get flutter packages | |
- run: flutter pub get | |
# Run unit, widget, and drive tests | |
- run: make test_unit test_widget |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment