v4.0.0 #33
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
name: Tests | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Flutter action | |
uses: subosito/flutter-action@v2.10.0 | |
- name: Restore Packages | |
run: flutter pub get | |
- name: Insure Formatting | |
run: dart format | |
- name: Analyze project source | |
run: flutter analyze | |
- name: Update Goldens | |
run: flutter test --update-goldens | |
- name: Run tests | |
run: flutter test --coverage |