Merge pull request #39 from vanlooverenkoen/vanlooverenkoen-patch-1 #36
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: Flutter Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/[email protected] | |
with: | |
channel: 'stable' | |
- run: flutter packages get | |
- run: dart run ./tool/test_coverage_create_helper.dart | |
- run: flutter test --coverage | |
- run: dart run ./tool/test_coverage_filter.dart | |
- run: dart run ./tool/test_coverage_validate_percentage.dart | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |