From 39dd4a109f7dfe5aed74cc1b5eb1f98b38eba338 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 7 Nov 2024 12:35:47 +0100 Subject: [PATCH] revmoe coverage --- .github/workflows/ci.yml | 38 -------------------------------- .github/workflows/run-matrix.yml | 5 ----- 2 files changed, 43 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7372596b..eb241d003 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,44 +54,6 @@ jobs: name: package path: ./pkg/**/* - coverage: - name: Combine & check coverage. - needs: [ matrix, matrix-main-frameworks ] - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 - with: - # Use latest Python, so it understands all syntax. - python-version: 3.11 - - - run: python -Im pip install --upgrade coverage[toml] - - - uses: actions/download-artifact@v4 - with: - pattern: coverage-reports-* - merge-multiple: true - - - name: Combine coverage - run: | - python -Im coverage combine - python -Im coverage html --skip-covered --skip-empty - - # Report and write to summary. - python -Im coverage report | sed 's/^/ /' >> $GITHUB_STEP_SUMMARY - - - name: Upload HTML report - uses: actions/upload-artifact@v4 - with: - name: html-coverage-report - path: htmlcov - - - uses: geekyeggo/delete-artifact@f275313e70c08f6120db482d7a6b98377786765b # 5.1.0 - with: - name: coverage-reports-* - all: if: always() runs-on: ubuntu-latest diff --git a/.github/workflows/run-matrix.yml b/.github/workflows/run-matrix.yml index e4b324bac..898e388db 100644 --- a/.github/workflows/run-matrix.yml +++ b/.github/workflows/run-matrix.yml @@ -66,8 +66,3 @@ jobs: with: name: test-results-${{ steps.normalize-junit.outputs.result }} path: "**/spec/junit-reports/**/*ruby-agent-junit.xml" - - if: success() || failure() - uses: actions/upload-artifact@v4 - with: - name: coverage-reports-${{ steps.normalize-junit.outputs.result }} - path: "coverage/"