Skip to content

Instantly share code, notes, and snippets.

@md-weber
Created September 8, 2019 02:39
Show Gist options
  • Save md-weber/d6e33922a0e1deaeea4748bdc7b0af05 to your computer and use it in GitHub Desktop.
Save md-weber/d6e33922a0e1deaeea4748bdc7b0af05 to your computer and use it in GitHub Desktop.
Yaml file for GitHub Actions
name: CI
on:
pull_request:
branches:
- development
- master
jobs:
test:
name: Flutter Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '1.7.8+hotfix.4'
- run: flutter doctor
- run: flutter pub get
- run: flutter test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment