Skip to content

Commit

Permalink
revmoe coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Nov 7, 2024
1 parent 0baddcb commit 39dd4a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 43 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/run-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"

0 comments on commit 39dd4a1

Please sign in to comment.