Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manually combine coverage reports, misc cleanup #165

Merged
merged 6 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ on:
required: true

permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout

jobs:
docker-push-containers-to-dockerhub-and-ecr:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/python-coverage-comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@ jobs:
- uses: actions/download-artifact@v4
id: download
with:
path: coverage-reports
pattern: coverage-*
merge-multiple: true

- name: Combine coverage reports
run: |
pipx run coverage combine coverage-reports/*coverage.*

- name: Coverage comment
id: coverage_comment
uses: py-cov-action/python-coverage-comment-action@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_COVERAGE_FILES: true

- name: Store Pull Request comment to be posted
uses: actions/upload-artifact@v4
Expand Down