Use Codecov coverage flags to split CI uploads by test suite
Upload separate coverage reports for unit, integration, and end-to-end tests under one commit using Codecov flags and codecov.yml.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Upload separate coverage reports for unit, integration, and end-to-end tests under one commit using Codecov flags and codecov.yml.
Use Codecov Flags to upload unit and integration coverage separately per commit, get independent thresholds and GitHub status checks, and make PR coverage diffs actionable without blocking on slower test layers.
Learn how Codecov coverage flags let you split uploads by test type—unit, integration, e2e—so you can see exactly where each suite contributes and target testing gaps.