From 0fa1e6e7c089582fe40f26fd30b95c0d5f444e81 Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Fri, 13 Feb 2026 15:55:54 -0500 Subject: [PATCH 1/2] AB#34 Uploading coverage reports to CodeCov.io and adding status badges. --- .github/workflows/ci.yml | 3 +++ README.md | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ef5add..6692ff0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,6 +45,9 @@ jobs: - name: Run unit tests run: dotnet test --no-build --verbosity normal --configuration Release /p:CollectCoverage=true /p:Threshold=50 /p:ThresholdType=line /p:ThresholdStat=Average /p:CoverletOutput=./TestResults/ /p:ExcludeByAttribute="GeneratedCodeAttribute" + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + publish-github-packages: name: Publish to GitHub Packages runs-on: ubuntu-latest diff --git a/README.md b/README.md index e02b01c..daf0bd3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # LogicBuilder.Workflow.ComponentModel.Serialization +[![Build Status](https://github.com/BpsLogicBuilder/LogicBuilder.ComponentModel.Design.Serialization/actions/workflows/ci.yml/badge.svg)](https://github.com/BpsLogicBuilder/LogicBuilder.ComponentModel.Design.Serialization/actions/workflows/ci.yml) +[![CodeQL](https://github.com/BpsLogicBuilder/LogicBuilder.ComponentModel.Design.Serialization/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/BpsLogicBuilder/LogicBuilder.ComponentModel.Design.Serialization/actions/workflows/github-code-scanning/codeql) +[![NuGet](https://img.shields.io/nuget/v/LogicBuilder.ComponentModel.Design.Serialization.svg)](https://www.nuget.org/packages/LogicBuilder.ComponentModel.Design.Serialization) + ## Serialization Management The library implements the core methods for serialization management like: From 76a2e25e063aae0c2b3889ba2decd127c07519b8 Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Fri, 13 Feb 2026 16:26:48 -0500 Subject: [PATCH 2/2] AB#34 using CodeCov token for upload. --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6692ff0..7791d69 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,6 +47,8 @@ jobs: - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} publish-github-packages: name: Publish to GitHub Packages diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6a760e7..b7d0b6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,6 +44,11 @@ jobs: - name: Run unit tests run: dotnet test --no-build --verbosity normal --configuration Release /p:CollectCoverage=true /p:Threshold=50 /p:ThresholdType=line /p:ThresholdStat=Average /p:CoverletOutput=./TestResults/ /p:ExcludeByAttribute="GeneratedCodeAttribute" + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }} + publish-github-packages: name: Publish Package to GitHub Packages and NuGet.org runs-on: ubuntu-latest