Skip to content

Python: Fix Python test coverage report workflow #12261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2025

Conversation

TaoChenOSU
Copy link
Contributor

@TaoChenOSU TaoChenOSU commented May 23, 2025

Motivation and Context

Our Python test coverage workflow has been failing due to a breaking in the text format of the test coverage output: MishaKav/pytest-coverage-comment#202.

Description

This PR fixes the issue by switching to xml.

Contribution Checklist

@TaoChenOSU TaoChenOSU self-assigned this May 23, 2025
@TaoChenOSU TaoChenOSU added the python Pull requests for the Python Semantic Kernel label May 23, 2025
@github-actions github-actions bot changed the title Fix Python test coverage report workflow Python: Fix Python test coverage report workflow May 23, 2025
@markwallace-microsoft markwallace-microsoft removed the python Pull requests for the Python Semantic Kernel label May 23, 2025
@moonbox3 moonbox3 added this pull request to the merge queue May 26, 2025
Merged via the queue into main with commit 4027c5e May 26, 2025
18 checks passed
@moonbox3 moonbox3 deleted the taochen/python-fix-test-coverage-report-workflow branch May 26, 2025 02:55
@github-project-automation github-project-automation bot moved this to Sprint: Done in Semantic Kernel May 26, 2025
eavanvalkenburg pushed a commit that referenced this pull request May 26, 2025
### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->
Our Python test coverage workflow has been failing due to a breaking in
the text format of the test coverage output:
MishaKav/pytest-coverage-comment#202.

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->
This PR fixes the issue by switching to xml.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Sprint: Done
Development

Successfully merging this pull request may close these issues.

4 participants