From 56c5441aa5e7237691b81b2b37de869dc8e7605c Mon Sep 17 00:00:00 2001 From: Yannick Dayer <60428834+Yannick-Dayer@users.noreply.github.com> Date: Thu, 26 Sep 2024 13:49:21 +0200 Subject: [PATCH] ci(tests): search for cov-reports in hidden files. (#11) 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. --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c72e142..fd321ba 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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