Merge pull request #328 from icapps/#324-fix-scripts-with-fvm #56
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: Test | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
test: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/[email protected] | |
with: | |
channel: 'stable' | |
- run: ./tool/install_fvm.sh | |
- run: fvm flutter packages get | |
- run: dart run ./tool/test_coverage_create_helper.dart | |
- run: fvm 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 }} |