mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
merge all coverage reports into a single artifact (#7262)
This commit is contained in:
parent
cc0da3bc60
commit
4aeff01838
2 changed files with 7 additions and 9 deletions
13
.github/actions/upload-coverage/action.yml
vendored
13
.github/actions/upload-coverage/action.yml
vendored
|
|
@ -20,11 +20,8 @@ runs:
|
|||
shell: bash
|
||||
- uses: actions/upload-artifact@v3.0.0
|
||||
with:
|
||||
name: coverage-${{ steps.coverage-uuid.outputs.COVERAGE_UUID }}
|
||||
path: ".coverage.*"
|
||||
if-no-files-found: ignore
|
||||
- uses: actions/upload-artifact@v3.0.0
|
||||
with:
|
||||
name: rust-coverage-${{ steps.coverage-uuid.outputs.COVERAGE_UUID }}
|
||||
path: "*.lcov"
|
||||
if-no-files-found: ignore
|
||||
name: coverage-data
|
||||
path: |
|
||||
.coverage.*
|
||||
*.lcov
|
||||
if-no-files-found: ignore
|
||||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -589,7 +589,8 @@ jobs:
|
|||
- run: pip install coverage
|
||||
- name: Download coverage data
|
||||
uses: actions/download-artifact@v3.0.0
|
||||
- run: mv **/.coverage* . && mv **/*.lcov .
|
||||
with:
|
||||
name: coverage-data
|
||||
- name: Combine coverage and fail if it's <100%.
|
||||
id: combinecoverage
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue