From 129fc754d8b5ba8d3c75782381f4e3a0fe441ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Forward?= Date: Sun, 13 Oct 2024 00:56:01 +0200 Subject: [PATCH] ci: fix coverage for multi unit test projects --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e1eee8f..bea0ae7 100755 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,11 +30,10 @@ jobs: - name: Run unit tests with coverage run: | dotnet test --collect:"XPlat Code Coverage" --results-directory ./coverage - mv ./coverage/*/coverage.cobertura.xml ./coverage/coverage.cobertura.xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v4.3.0 with: token: ${{secrets.CODECOV_TOKEN}} - files: ./coverage/coverage.cobertura.xml + files: ./coverage/*/coverage.cobertura.xml fail_ci_if_error: true \ No newline at end of file