From c4e2b19898d998cbb967793dd729b2874ebf6b47 Mon Sep 17 00:00:00 2001 From: ajatkj Date: Thu, 8 Feb 2024 15:27:20 +0530 Subject: [PATCH 1/3] add codecov upload action --- .github/workflows/tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9113ca5..1a376f5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -75,6 +75,13 @@ jobs: with: name: coverage-html path: htmlcov + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + with: + directory: ./htmlcov + verbose: true # https://github.com/marketplace/actions/alls-green check: # This job does nothing and is only used for the branch protection From 0d0dcc9d45d5beae87c2c195654a0095e6840972 Mon Sep 17 00:00:00 2001 From: ajatkj Date: Thu, 8 Feb 2024 17:32:45 +0530 Subject: [PATCH 2/3] Update coverage action --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1a376f5..55f9cce 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -80,7 +80,7 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: - directory: ./htmlcov + directory: coverage verbose: true # https://github.com/marketplace/actions/alls-green From 2b963f0d14624168bc7739362310fc72d973bafd Mon Sep 17 00:00:00 2001 From: ajatkj Date: Thu, 8 Feb 2024 17:35:49 +0530 Subject: [PATCH 3/3] Update codecov action --- .github/workflows/tests.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 55f9cce..67296d7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -80,14 +80,11 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: - directory: coverage verbose: true # https://github.com/marketplace/actions/alls-green check: # This job does nothing and is only used for the branch protection if: always() - outputs: - result: ${{ steps.all-green.outputs.result }} needs: - coverage-combine runs-on: ubuntu-latest