diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2fa5c60..45fc1f0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,9 @@ on: branches: [main] jobs: build: + permissions: + id-token: write + checks: read strategy: matrix: cfg: [Release, Debug] @@ -37,3 +40,9 @@ jobs: dotnet test --nologo --no-restore --configuration ${{ matrix.cfg }} --logger GitHubActions + --property:CoverletOutput=${{github.workspace}}/coverage.opencover.xml + - name: Upload Coverage + uses: codecov/codecov-action@v4 + with: + files: ${{github.workspace}}/coverage.opencover.xml + use_oidc: true diff --git a/Atmosphere.Tests/Atmosphere.Tests.csproj b/Atmosphere.Tests/Atmosphere.Tests.csproj index f3bd5e9..6262d02 100644 --- a/Atmosphere.Tests/Atmosphere.Tests.csproj +++ b/Atmosphere.Tests/Atmosphere.Tests.csproj @@ -10,7 +10,6 @@ - @@ -21,9 +20,4 @@ - - - diff --git a/Directory.Packages.props b/Directory.Packages.props index c60e422..368e20c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -7,7 +7,6 @@ -