Repository navigation
Split the build pipeline into gated stages - #7
Merged
Merged
Conversation
Build and Test runs first and produces the coverage report, Docker image and NuGet template as artifacts. Code Coverage, Container Scan and Static Analysis then run once it passes and must all pass before Publish pushes the same image and package on main. CodeQL moves into the pipeline, the 95% coverage gate is enforced by the Code Coverage job and Codecov statuses become informational.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7 +/- ##
=======================================
Coverage 99.71% 99.71%
=======================================
Files 39 39
Lines 356 356
Branches 8 8
=======================================
Hits 355 355
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The report summary counts sequence points in generated code that Codecov ignores, so the gate read below Codecov's figure. Count distinct lines in files that exist in the repo instead, and list the least covered files in the job log.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Same pipeline as LeanMeanCleanApps/CleanWebApi#13.
build-pipeline.ymlis split into stages so nothing publishes unless every check passes.Other changes:
codeql.ymlis removed.Related issues
None