Skip to content
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

Investigate Unit Test Coverage Report not updating properly #96926

Open
ataker opened this issue Nov 12, 2024 · 0 comments
Open

Investigate Unit Test Coverage Report not updating properly #96926

ataker opened this issue Nov 12, 2024 · 0 comments
Labels
cicd platform-cop Issues that are in a Platform COP backlog platform-cop-frontend for Platform CoP Frontend

Comments

@ataker
Copy link

ataker commented Nov 12, 2024

User Story

It's been reported that applications Unit Test Coverage Report isn't updating as expected. When checking locally application survivor-dependent-education-benefit/22-5490 doesn't have anything below a 70%:
Image

but in the Unit Test Coverage Report they are low 20%.

In my testing, the unit-test-coverage artifacts appear to be correct (see files in unit-test-coverages.zip), but once they are merged in CI they aren't correct (see downloaded_merged_coverage_report.txt). When running the unit-test-coverage artifacts through the node script script/github-actions/merge-unit-test-coverage.js locally the reports come out as I would expect (see local-merged-coverage-report.json). It seems like CI is using the incorrect files when merging the unit test coverage reports together.

local-merged-coverage-report.json
unit-test-coverages.zip
downloaded_merged_coverage_report.txt

@ataker ataker added cicd platform-cop Issues that are in a Platform COP backlog platform-cop-frontend for Platform CoP Frontend labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd platform-cop Issues that are in a Platform COP backlog platform-cop-frontend for Platform CoP Frontend
Projects
None yet
Development

No branches or pull requests

1 participant