diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d51bc52..f2ed668 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,12 +55,13 @@ jobs: --results-directory ./coverage \ -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=cobertura - - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5 + - name: Code Coverage Report + uses: irongut/CodeCoverageSummary@v1.3.0 with: - directory: ./coverage - fail_ci_if_error: false - token: ${{ secrets.CODECOV_TOKEN }} + filename: coverage/**/coverage.cobertura.xml + badge: true + format: markdown + output: both - name: Upload coverage artifact uses: actions/upload-artifact@v4 diff --git a/README.md b/README.md new file mode 100644 index 0000000..f8839d9 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# IdentityShroud + +![Build Status](https://github.com/Eelke76/IdentityShroud/actions/workflows/ci.yml/badge.svg) +![Code Coverage](https://img.shields.io/badge/Code%20Coverage-0%25-critical) + +IdentityShroud is a .NET project for identity management and protection. + +## Build and Test + +```bash +dotnet restore +dotnet build +dotnet test +``` + +## Coverage + +Coverage reports are generated automatically in CI and displayed in pull request comments.