Added Full Build workflow that publishes coverage reports.#504
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds a full build workflow that runs on pushes to main, collects code coverage, and publishes a Markdown summary, while restricting the existing CI workflow to PRs and manual dispatch.
- Introduce
.github/workflows/build.ymlfor full build, test, coverage collection, and summary publishing - Update
.github/workflows/ci.ymlto remove push triggers (now onlypull_requestand manual) - Register workflow YAML files in the solution items
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Ardalis.Specification.sln | Added workflow YAML files to Solution Items |
| .github/workflows/ci.yml | Removed push triggers to limit CI to PRs and manual |
| .github/workflows/build.yml | New full build workflow with coverage report steps |
Comments suppressed due to low confidence (3)
.github/workflows/build.yml:24
- The workflow references
ci.slnf, but that file doesn't exist in the repo. Update this to point to the actual solution (e.g.,Ardalis.Specification.sln) or add the filter file.
run: dotnet build ci.slnf --configuration Release
.github/workflows/build.yml:26
- Same as above:
ci.slnfis not present. Change this test command to reference the correct solution file to avoid workflow failures.
run: dotnet test ci.slnf --configuration Release --no-build --no-restore --framework net9.0 --collect:"XPlat Code Coverage;Format=opencover"
Ardalis.Specification.sln:31
- [nitpick] Including
release.ymlhere isn't mentioned in the PR description and isn't modified in this PR. Consider removing it from Solution Items until it's actually added or updated.
.github\workflows\release.yml = .github\workflows\release.yml
This was referenced Aug 20, 2025
Closed
Closed
Closed
Closed
Closed
This was referenced Jan 9, 2026
This was referenced Jan 18, 2026
Open
This was referenced Jan 30, 2026
This was referenced Feb 9, 2026
Open
Open
Open
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.
Added new workflow that collects and publishes coverage reports. For now, we'll publish them just as markdown in the job summary page. Also modified the triggers as follows:
ci.yml- it will be triggered for pull requests only. It builds and tests.build.yml- it will be triggered on push to main. It builds, tests, generates a coverage report, and publishes to the job summary page.