Skip to content
Unverified Commit b9b34fb9 authored by Eugen Snitko's avatar Eugen Snitko Committed by GitHub
Browse files

Github actions coverage (#5148)

Jobs for coverage collections and upload to codecov for github PR's
Uses same test suit as test-linux-stable, splits tests into 5 parallel
jobs, uploads to codecov, generates report comment and status checks
(can be made required)
| | |
| --- | --- |
| <img width="640" alt="image"
src="https://github.com/user-attachments/assets/3790f255-27d1-46b9-8d25-2e40b3dcd844">
| <img width="764" alt="image"
src="https://github.com/user-attachments/assets/9e0c8cc7-3278-4b4e-9e28-d76cd57b9163">
|

Codecov behavior (required coverage, thresholds, comment info etc.) is
highly customizable via `.github/codecov.yaml`
([reference](https://docs.codecov.com/docs/codecovyml-reference))

Unfortunately, some tests are excluded because with `-C
instrument-coverage` they run very slowly, flaky, or fail (see [nextest
filter
expression](https://github.com/paritytech/polkadot-sdk/pull/5148/files#diff-b19504a9520a2498d03020108344d8e6d93d254d812bfa26247faaa7f55263d6R80)
of test-linux-stable-coverage). So for now, this workflow is optional,
and will only run for pr's with the `GHA-coverage` label
parent 49a68132
Pipeline #495825 waiting for manual action with stages
in 32 minutes and 1 second
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment