From 89574b4be9249b11bed0a011c629c242b0c29c88 Mon Sep 17 00:00:00 2001 From: Yannick DAYER Date: Thu, 26 Sep 2024 13:03:29 +0200 Subject: [PATCH] ci(tests): search for cov-reports in hidden files. The upload-artifacts action won't upload hiddey 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 ca1b1e2..acf7851 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,6 +40,8 @@ jobs: # File renamed for thix matrix element name: coverage-${{ matrix.pixi_environment }}-${{ matrix.os }} path: .coverage.${{ matrix.pixi_environment }}-${{ matrix.os }} + include-hidden-files: true + if-no-files-found: error merge-coverage: name: Merge the coverage reports from multiple coverages