From 8f89ea3fa9268f7beea697c6061df66510365386 Mon Sep 17 00:00:00 2001 From: Gibah Joseph Date: Mon, 4 Nov 2024 16:01:45 +0000 Subject: [PATCH] fix: fixed coverage upload to codecov --- .github/workflows/code_quality.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index e82bf45..c92cc26 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -74,10 +74,13 @@ jobs: run: dart pub global run combine_coverage --repo-path="." - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 - env: - files: ./coverage/lcov.info - verbose: true + uses: codecov/codecov-action@v4 + with: + directory: ./coverage/ + fail_ci_if_error: true +# flags: unittests + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true - name: Stop Docker Container run: melos exec --scope="openapi_generator" -- bash -c "cd \$MELOS_PACKAGE_PATH && docker-compose -f "docker-compose.yaml" down"