From 292b53ecef42becf20f2344e3fa87f013862ef9b Mon Sep 17 00:00:00 2001 From: Alexandru Mariuti Date: Tue, 28 Jan 2025 16:43:34 +0100 Subject: [PATCH] chore: code coverage (#12) --- .github/workflows/flutter-test.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flutter-test.yaml b/.github/workflows/flutter-test.yaml index 8701cf5..5cd6751 100644 --- a/.github/workflows/flutter-test.yaml +++ b/.github/workflows/flutter-test.yaml @@ -32,4 +32,11 @@ jobs: - name: Test working-directory: packages/disco - run: flutter test + run: flutter test --coverage + + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 + with: + files: ./lcov.info + token: ${{ secrets.CODECOV_TOKEN }} + directory: packages/disco