Skip to content

Commit

Permalink
merge in a separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Sep 3, 2024
1 parent 17226f1 commit f8accdd
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/test-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,21 @@ jobs:
if-no-files-found: error
include-hidden-files: true

merge:
name: Merge Coverage
runs-on: ubuntu-latest
needs: tests
steps:
- name: Merge coverage data
uses: actions/upload-artifact/merge@v4
with:
name: coverage-data
delete-merged: true

coverage:
name: Coverage
runs-on: ubuntu-latest
needs: tests
needs: merge
steps:
- uses: actions/checkout@v4

Expand All @@ -71,12 +82,6 @@ jobs:
- name: Download data
uses: actions/download-artifact@v4

- name: Merge coverage data
uses: actions/upload-artifact/merge@v4
with:
name: coverage-data
delete-merged: true

- name: Combine coverage and fail if it's <100%
run: |
python -m coverage combine
Expand Down

0 comments on commit f8accdd

Please sign in to comment.