From cd5547bbe6531813015f545ac17550ec44e9582c Mon Sep 17 00:00:00 2001 From: Jan Romann Date: Thu, 2 Feb 2023 12:56:51 +0100 Subject: [PATCH] chore: simplify code coverage generation --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0538595..a2888217 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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