diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 51b9ad6..8fa840a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -58,12 +58,14 @@ jobs:
run: dotnet build --no-restore -c Debug
- name: Test solution [Debug]
working-directory: src
- run: dotnet test --no-restore -p:CollectCoverage=true
+ run: dotnet test --no-restore -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:CoverletOutput=../.coverage/
- name: Upload coverage to codecov
if: ${{ startsWith(matrix.os, 'ubuntu') }}
uses: codecov/codecov-action@v3
+ env:
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
- files: .coverage/Destructurama.ByIgnoring.Tests/coverage.net8.opencover.xml
+ files: src/.coverage/*.opencover.xml
buildcheck:
needs:
diff --git a/README.md b/README.md
index 2193a4f..9860548 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
![License](https://img.shields.io/github/license/destructurama/attributed)
-[![codecov](https://codecov.io/gh/destructurama/attributed/branch/master/graph/badge.svg?token=0ZRHIUEQM4)](https://codecov.io/gh/destructurama/attributed)
+[![codecov](https://codecov.io/gh/destructurama/attributed/graph/badge.svg?token=Ma2sUoqqb1)](https://codecov.io/gh/destructurama/attributed)
[![Nuget](https://img.shields.io/nuget/dt/Destructurama.Attributed)](https://www.nuget.org/packages/Destructurama.Attributed)
[![Nuget](https://img.shields.io/nuget/v/Destructurama.Attributed)](https://www.nuget.org/packages/Destructurama.Attributed)
diff --git a/src/Destructurama.Attributed.Tests/Destructurama.Attributed.Tests.csproj b/src/Destructurama.Attributed.Tests/Destructurama.Attributed.Tests.csproj
index e88c937..4b05d66 100644
--- a/src/Destructurama.Attributed.Tests/Destructurama.Attributed.Tests.csproj
+++ b/src/Destructurama.Attributed.Tests/Destructurama.Attributed.Tests.csproj
@@ -13,6 +13,10 @@
+
+ all
+ runtime; build; native; contentfiles; analyzers; buildtransitive
+