Skip to content

Comments

Fix CI: missing JunitXml.TestLogger in Samples project breaks test step#35

Merged
leeoades merged 3 commits intomainfrom
copilot/fix-ci-action-test-results
Feb 23, 2026
Merged

Fix CI: missing JunitXml.TestLogger in Samples project breaks test step#35
leeoades merged 3 commits intomainfrom
copilot/fix-ci-action-test-results

Conversation

Copy link
Contributor

Copilot AI commented Feb 23, 2026

The recent addition of --logger "junit;..." to the dotnet test command broke CI because FunctionalStateMachine.Samples has Microsoft.NET.Test.Sdk (making it discoverable as a test project) but was missing JunitXml.TestLogger, causing a hard failure: Could not find a test logger with FriendlyName 'junit'.

Changes

  • FunctionalStateMachine.Samples.csproj — add JunitXml.TestLogger package, consistent with all other test projects in the solution
  • ci.yml — fix actions/checkout@v6actions/checkout@v4 (v6 does not exist)
  • .gitignore — exclude coverage/ and test-results/ output directories

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 23, 2026 11:25
…6 to v4

Co-authored-by: leeoades <2321091+leeoades@users.noreply.github.com>
…facts

Co-authored-by: leeoades <2321091+leeoades@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CI action to upload test results properly Fix CI: missing JunitXml.TestLogger in Samples project breaks test step Feb 23, 2026
Copilot AI requested a review from leeoades February 23, 2026 11:28
@codecov
Copy link

codecov bot commented Feb 23, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@leeoades leeoades marked this pull request as ready for review February 23, 2026 11:32
@leeoades leeoades merged commit 042344c into main Feb 23, 2026
3 checks passed
@leeoades leeoades deleted the copilot/fix-ci-action-test-results branch February 23, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants