From a13717019fa08d10bc684eabcbf24345756ff5d5 Mon Sep 17 00:00:00 2001 From: Hassan Kibirige Date: Mon, 19 Feb 2024 13:17:50 +0300 Subject: [PATCH] CI: List coverage.xml explicitly --- .github/workflows/testing.yml | 16 ++++++++++++---- codecov.yml | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index c8c8687e8..1b30bde2b 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -42,7 +42,8 @@ jobs: shell: bash run: | ls -la - ls -la tests/* + md5sum coverage.xml + - uses: actions/upload-artifact@v3 if: failure() @@ -57,10 +58,17 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: - fail_ci_if_error: true name: "py${{ matrix.python-version }}" - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + files: ./coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true + fail_ci_if_error: true + + - name: Debug + shell: bash + run: | + md5sum coverage.xml + cat coverage.xml lint-and-format: runs-on: ubuntu-latest diff --git a/codecov.yml b/codecov.yml index 170bb8679..de1efabbb 100644 --- a/codecov.yml +++ b/codecov.yml @@ -4,7 +4,7 @@ codecov: comment: behavior: default branches: - - 'master' + - 'main' coverage: round: 'down'