Skip to content

Commit

Permalink
use test_with_coverage instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevertus committed Nov 27, 2023
1 parent f5c4f70 commit 771067d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ jobs:
- name: Lint Code
run: dart analyze lib/
- name: Run tests
run: dart run test --coverage="coverage"
- name: Convert coverage to ICOV
run: dart run coverage:format_coverage --packages=.dart_tool/package_config.json --lcov -i coverage/coverage.json -o coverage/coverage.lcov
run: dart run coverage:test_with_coverage
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
file: coverage/coverage.lcov
file: coverage/lcov.info

0 comments on commit 771067d

Please sign in to comment.