chromaui / chromatic-e2e

Archive end-to-end tests to be replayed in Storybook and Chromatic
MIT License
13 stars 3 forks source link

Report code coverage to Codacy #118

Closed paulelliott closed 3 months ago

paulelliott commented 3 months ago

Issue: #

What Changed

This adjusts the test:unit scripts to generate coverage reports and upload them to Codacy in the GitHub Action.

How to test

Go to the Codacy UI for this branch and see the code coverage reported.

codacy-production[bot] commented 3 months ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for c0b62731c1c238adf0e039633b06a1ead5c63322[^1] :white_check_mark:
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (c0b62731c1c238adf0e039633b06a1ead5c63322) | Report Missing | Report Missing | Report Missing | | | Head commit (ed0bf2b4deca0f4e8f8886407ae812855ee3a178) | 211 | 201 | 95.26% | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#118) | 0 | 0 | **∅ (not applicable)** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation [^1]: Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.