From e334387b3e0bacdcda40653bc4c44525c6d0f4d0 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 7 Nov 2024 13:11:06 +0100 Subject: [PATCH] actions: remove coverage (#1500) --- .github/workflows/coverage-reporter.yml | 34 ------------------------- .github/workflows/run-matrix.yml | 9 ++----- 2 files changed, 2 insertions(+), 41 deletions(-) delete mode 100644 .github/workflows/coverage-reporter.yml diff --git a/.github/workflows/coverage-reporter.yml b/.github/workflows/coverage-reporter.yml deleted file mode 100644 index dbd2966fb..000000000 --- a/.github/workflows/coverage-reporter.yml +++ /dev/null @@ -1,34 +0,0 @@ ---- -## Workflow to process coverage report -## For now the coverage is not reported. This workflow is just here as preparation for -## https://github.com/elastic/observability-robots/issues/1546 -name: coverage-reporter -on: - workflow_run: - workflows: - - test - types: - - completed - -permissions: - contents: read - -jobs: - report: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Download artifacts - run: > - gh run download ${{ github.event.workflow_run.id }} - --name coverage - --repo "${GITHUB_REPOSITORY}" - --dir coverage - env: - GH_TOKEN: ${{ github.token }} - - run: ls -l coverage/matrix_results -# - run: ./spec/scripts/coverage_converge.sh -# - uses: actions/upload-artifact@v3 -# with: -# name: coverage-report -# path: coverage/coverage.xml diff --git a/.github/workflows/run-matrix.yml b/.github/workflows/run-matrix.yml index 65ec70fc7..898e388db 100644 --- a/.github/workflows/run-matrix.yml +++ b/.github/workflows/run-matrix.yml @@ -59,15 +59,10 @@ jobs: } const framework = normalizeName('${{ matrix.framework }}') const version = normalizeName('${{ matrix.version }}') - return `test-results-${version}-${framework}` + return `${version}-${framework}` - if: success() || failure() name: Upload JUnit Test Results uses: actions/upload-artifact@v4 with: - name: ${{ steps.normalize-junit.outputs.result }} + name: test-results-${{ steps.normalize-junit.outputs.result }} path: "**/spec/junit-reports/**/*ruby-agent-junit.xml" - - if: success() || failure() - uses: actions/upload-artifact@v3 - with: - name: coverage - path: "coverage/"