diff --git a/.github/workflows/upload_coverage.yml b/.github/workflows/upload_coverage.yml index 19b4c6abb0..784793ac11 100644 --- a/.github/workflows/upload_coverage.yml +++ b/.github/workflows/upload_coverage.yml @@ -11,8 +11,6 @@ jobs: runs-on: ubuntu-22.04 if: ${{ github.event.workflow_run.conclusion != 'cancelled' }} steps: - - uses: actions/checkout@v4 - - name: Download artifacts uses: dawidd6/action-download-artifact@bf251b5aa9c2f7eeb574a96ee720e24f801b7c11 with: @@ -26,7 +24,8 @@ jobs: run: | # Search the coverage files and upload them bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial -l python --force-coverage-parser cobertura $(find . -name 'coverage.xml' -print | sed -e 's/^/ -r /' | tr -d '\n') - bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial -l C --force-coverage-parser lcov $(find . -regex '.*/nested/reference/.*/coverage\.lcov' -print | sed -e 's/^/ -r /' | tr -d '\n') + # Do not upload lcov because of https://github.com/codacy/codacy-coverage-reporter/issues/510#issuecomment-2297469928 + # bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial -l C --force-coverage-parser lcov $(find . -regex '.*/nested/reference/.*/coverage\.lcov' -print | sed -e 's/^/ -r /' | tr -d '\n') env: CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}