Skip to content

Commit

Permalink
chore: simplify code coverage generation
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Feb 2, 2023
1 parent d68154e commit cd5547b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ jobs:
run: dart analyze

- name: Run tests with coverage
run: dart test --coverage="coverage"

- name: Convert coverage to ICOV
run: dart run coverage:format_coverage --lcov --in=coverage --out=coverage.lcov --report-on=lib
run: dart run coverage:test_with_coverage

- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.lcov
file: coverage/lcov.info
name: Upload to codecov.io
verbose: true

0 comments on commit cd5547b

Please sign in to comment.