Skip to content

Instantly share code, notes, and snippets.

@larryaasen
Created February 13, 2020 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larryaasen/919bc5c4da8c49e884b555e2e16d4a0f to your computer and use it in GitHub Desktop.
Save larryaasen/919bc5c4da8c49e884b555e2e16d4a0f to your computer and use it in GitHub Desktop.
GitHub Action for Flutter app using macOS and running Flutter tests
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