From e32874e4d32c98fa30b845317f5af9dd27590f43 Mon Sep 17 00:00:00 2001 From: PerseoGI Date: Thu, 16 Jan 2025 18:34:19 +0100 Subject: [PATCH] Use codecov --- .github/workflows/main.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index efa673a699f..99ed9caba9a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,24 +48,10 @@ jobs: coverage report coverage xml - - name: Pytest coverage comment - id: coverageComment - uses: MishaKav/pytest-coverage-comment@main + - name: Code coverage + uses: codecov/codecov-action@v5 with: - pytest-xml-coverage-path: ./coverage.xml - xml-skip-covered: true # Only display non fully covered files - hide-report: true # Avoids GitHub message length limit issue - - - name: Update coverage badge - uses: schneegans/dynamic-badges-action@v1.7.0 - with: - auth: ${{ secrets.PYTEST_COVERAGE_COMMENT }} - gistID: f305b2c105b15ff2b620a7a728b14934 - filename: conan-coverage.json - label: Coverage Report - message: ${{ steps.coverageComment.outputs.coverage }} - color: ${{ steps.coverageComment.outputs.color }} - namedLogo: python + token: ${{ secrets.CODECOV_TOKEN }} - uses: geekyeggo/delete-artifact@v5 with: