Merge pull request #1021 from bosskmk/develop #221
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: Coverage | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}} | |
steps: | |
# Without this, there are no files in the directory. | |
- uses: actions/checkout@v3 | |
# using flutter | |
- uses: subosito/[email protected] | |
with: | |
channel: 'stable' | |
- run: dart --version | |
- run: flutter --version | |
- run: flutter pub get | |
- run: flutter test --coverage | |
# codecov.io | |
- uses: codecov/codecov-action@v3 | |
with: | |
file: ./coverage/lcov.info |