Skip to content

Improvements #206

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 5 commits into from
Apr 30, 2025
Merged

Improvements #206

merged 5 commits into from
Apr 30, 2025

Conversation

MishaKav
Copy link
Owner

@MishaKav MishaKav commented Apr 30, 2025

✨ PR Description
Purpose and impact: This PR updates the pytest-coverage-comment action to version 1.1.54, adding support for a new coverage report format and updating dependencies.

Main changes:

  • Add support for pytest-cov >= 6.0.0 output format in coverage reports
  • Bump version to 1.1.54 and update dev dependencies
  • Modify parsing logic to handle new coverage report format

…ons for @vercel/ncc, prettier, and several @octokit packages. Modify dependabot configuration for npm updates.
…y of dashes, improving the handling of line formats in the parsing process.
…ion to filter out lines with only dashes, improving line parsing accuracy.
…verage-path format and bumping development dependencies.
Copy link
Contributor

Coverage

Coverage Report
FileStmtsMissCoverMissing
functions/example_completed
   example_completed.py641970%33, 39–45, 48–51, 55–58, 65–70, 91–92
functions/example_manager
   example_manager.py441175%31–33, 49–55, 67–69
   example_static.py40295%60–61
functions/my_exampels
   example.py20200%1–31
functions/resources
   resources.py26260%1–37
TOTAL105573930% 

Tests Skipped Failures Errors Time
109 2 💤 1 ❌ 0 🔥 0.583s ⏱️

@MishaKav MishaKav linked an issue Apr 30, 2025 that may be closed by this pull request
@MishaKav MishaKav requested a review from Copilot April 30, 2025 11:15
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the pytest-coverage-comment action to v1.1.54 by introducing support for the new pytest-cov output format and updating dependencies. It also refines the parsing logic in the source code and updates configuration and documentation files accordingly.

  • Updated parsing logic in src/parse.js to handle the new coverage report format.
  • Modified test data in data/pytest-coverage_1.txt to reflect new header formatting.
  • Bumped version and updated dependency configuration in CHANGELOG.md and .github/dependabot.yml.

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

File Description
src/parse.js Updated the parsing logic to filter out lines made entirely of '-' characters.
data/pytest-coverage_1.txt Adjusted coverage report data to match the new format.
CHANGELOG.md Added release notes for version 1.1.54.
.github/dependabot.yml Refactored dependency update configuration.
Files not reviewed (1)
  • package.json: Language not supported

@MishaKav MishaKav merged commit 13d3c18 into main Apr 30, 2025
3 checks passed
@MishaKav MishaKav deleted the improvements branch April 30, 2025 11:17
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.

Coverage report breaking
1 participant