diff --git a/.github/workflows/master-ci.yml b/.github/workflows/master-ci.yml index 5224208a..f5e144c8 100644 --- a/.github/workflows/master-ci.yml +++ b/.github/workflows/master-ci.yml @@ -38,4 +38,13 @@ 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" --results-directory ./coverage + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 + with: + directory: ./coverage + fail_ci_if_error: false + flags: unittests + name: agileconfig + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true