add codecov

This commit is contained in:
Marco 2022-08-28 21:06:19 +08:00
parent b3ebc9999d
commit 2fde8e5573

View file

@ -62,7 +62,12 @@ jobs:
# - name: Analyze
# run: flutter analyze
- name: Test
run: flutter test
run: flutter test --coverage
- name: Upload to code coverage
uses: codecov/codecov-action@v1.2.2
with:
token: ${{secrets.CODECOV_TOKEN}}
file: coverage/lcov.info
- name: Delete temp files
run: |
Remove-Item -Path $env:CHANGE_NOW;