Skip to content

Commit

Permalink
Fix missing coverage files in GitHub Actions
Browse files Browse the repository at this point in the history
As of September 2nd, using the `upload-artifact` GitHub Action no longer uploads hidden files by default:

https://github.blog/changelog/2024-08-19-notice-of-upcoming-deprecations-and-breaking-changes-in-github-actions-runners/

This breaks uploading of `.coverage.*` files used to combine multiple coverage reports.

The `upload-artifact` README now includes this guidance on including hidden files: https://github.com/actions/upload-artifact?tab=readme-ov-file#uploading-hidden-files
  • Loading branch information
chosak committed Sep 23, 2024
1 parent 6a81357 commit f63c2a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
with:
name: coverage-${{ matrix.python }}-${{ matrix.django }}-${{ matrix.wagtail }}
path: .coverage.*
include-hidden-files: true

coverage:
name: coverage
Expand Down

0 comments on commit f63c2a7

Please sign in to comment.