From 2cb3f64466a742ef70c155e08b7e51e4780121f8 Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 25 Apr 2024 22:50:28 -0300 Subject: [PATCH] install coverage --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8a80925f..f5e4bd1d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,7 +41,9 @@ jobs: if: runner.os == 'macOS' run: dart run test --coverage=coverage - name: Convert to lcov - run: dart pub global run coverage:format_coverage --in="./coverage/test" --out="./coverage/lcov.info" --lcov --report-on="./lib" + run: + - dart pub global activate coverage + - dart pub global run coverage:format_coverage --in="./coverage/test" --out="./coverage/lcov.info" --lcov --report-on="./lib" - name: Send coverage report to codecov if: runner.os == 'macOS' uses: codecov/codecov-action@v4