diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 4bd11fa5..233541b1 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -25,4 +25,8 @@ jobs: - name: Build run: dotnet build --no-restore - name: Test - run: dotnet test --no-build --verbosity normal + run: dotnet test --no-build --verbosity normal --collect:"XPlat Code Coverage" + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 00000000..b12cf1b6 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,2 @@ +ignore: + - "SpreadCheetah.Benchmark"