From 11a43a5ed0bd3c29e0b2492709086668e9ddfbd4 Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Sat, 14 Feb 2026 09:30:54 -0500 Subject: [PATCH 1/2] AB#36 Adding badges to ReadMe --- .github/workflows/ci.yml | 4 ++++ .github/workflows/release.yml | 4 ++++ README.md | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f024d4..459e782 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,9 +45,13 @@ 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-packages: name: Publish to GitHub Packages runs-on: ubuntu-latest + if: github.repository_owner == 'BpsLogicBuilder' needs: test steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9188267..7bf46e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,9 +44,13 @@ 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-packages: name: Publish Package to GitHub Packages and NuGet.org runs-on: ubuntu-latest + if: github.repository_owner == 'BpsLogicBuilder' needs: test steps: diff --git a/README.md b/README.md index 6fe285d..4ad4865 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # LogicBuilder.Workflow.ComponentModel.Serialization +[![Build Status](https://github.com/BpsLogicBuilder/LogicBuilder.Workflow.ComponentModel.Serialization/actions/workflows/ci.yml/badge.svg)](https://github.com/BpsLogicBuilder/LogicBuilder.Workflow.ComponentModel.Serialization/actions/workflows/ci.yml) +[![CodeQL](https://github.com/BpsLogicBuilder/LogicBuilder.Workflow.ComponentModel.Serialization/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/BpsLogicBuilder/LogicBuilder.Workflow.ComponentModel.Serialization/actions/workflows/github-code-scanning/codeql) +[![codecov](https://codecov.io/gh/BpsLogicBuilder/LogicBuilder.Workflow.ComponentModel.Serialization/graph/badge.svg?token=CTUXSQYTCV)](https://codecov.io/gh/BpsLogicBuilder/LogicBuilder.Workflow.ComponentModel.Serialization) +[![NuGet](https://img.shields.io/nuget/v/LogicBuilder.Workflow.ComponentModel.Serialization.svg)](https://www.nuget.org/packages/LogicBuilder.Workflow.ComponentModel.Serialization) + ## Integration with LogicBuilder.Rules This library serves as the serialization layer for the LogicBuilder.Rules rulesets, enabling: @@ -31,4 +36,4 @@ Contributions are welcome. ## Related Projects -- [LogicBuilder.Rules](https://github.com/BpsLogicBuilder/LogicBuilder.Rules) - The workflow rules engine that uses this serialization library \ No newline at end of file +- [LogicBuilder.Workflow.Activities.Rules](https://github.com/BpsLogicBuilder/LogicBuilder.Workflow.Activities.Rules) - The workflow rules engine that uses this serialization library \ No newline at end of file From 2489df59e853eeb17149c779109674c7b09d36e6 Mon Sep 17 00:00:00 2001 From: Blaise Taylor Date: Sat, 14 Feb 2026 09:33:31 -0500 Subject: [PATCH 2/2] AB#36 /p:CoverletOutputFormat=opencover --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 459e782..eb019f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: run: dotnet build --no-restore --configuration Release - 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" + run: dotnet test --no-build --verbosity normal --configuration Release /p:CollectCoverage=true /p:Threshold=50 /p:ThresholdType=line /p:ThresholdStat=Average /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/ /p:ExcludeByAttribute="GeneratedCodeAttribute" - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7bf46e0..672b25f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: run: dotnet build --no-restore --configuration Release - 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" + run: dotnet test --no-build --verbosity normal --configuration Release /p:CollectCoverage=true /p:Threshold=50 /p:ThresholdType=line /p:ThresholdStat=Average /p:CoverletOutputFormat=opencover /p:CoverletOutput=./TestResults/ /p:ExcludeByAttribute="GeneratedCodeAttribute" - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v5