Skip to content

Commit

Permalink
ci(tests): search for cov-reports in hidden files. (#11)
Browse files Browse the repository at this point in the history
The upload-artifacts action won't upload hidden file by default.
Force the inclusion of hidden files as it is required by merge-coverage.
Trigger an error when no coverage report file is found.
  • Loading branch information
Yannick-Dayer authored Sep 26, 2024
1 parent bd31661 commit 56c5441
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
with:
name: coverage-${{ matrix.pixi_environment }}
path: .coverage.${{ matrix.pixi_environment }}
include-hidden-files: true
if-no-files-found: error

merge-coverage:
name: Merge the coverage reports from multiple coverages
Expand Down

0 comments on commit 56c5441

Please sign in to comment.