Hello Together!
At the beginning of the week I have configured codecov in a private GitHub project. The configuration includes various components to make the whole thing look nicer.
Also, it is a mono repo approach with divided Go and TypeScript packages. For this I use fixes
(mainly because the go.mod files get a dummy prefix xyz.io
).
Unfortunately I had to notice that only files that appear in the coverage are displayed in Codecov.
This of course falsifies the information enormously.
Does anyone have an idea how to consider ALL files in a repository (e.g. based on a glob)?
Here is an excerpt from the configuration:
comment:
layout: "header, diff, flags, components"
codecov:
max_report_age: off
coverage:
round: down
precision: 5
status:
project:
default:
informational: true
patch:
default:
informational: true
component_management:
default_rules:
statuses:
- type: project
target: auto
branches:
- "!dev"
individual_components:
- component_id: api
name: "packages/api [go]"
paths:
- packages/api/**
- component_id: background
name: "packages/background [go]"
paths:
- packages/background/**
- component_id: api
name: "apps/api [go]"
paths:
- apps/api/**
- component_id: webhook-receiver
name: "apps/webhook-receiver [go]"
paths:
- apps/webhook-receiver/**
- component_id: worker-background
name: "apps/worker-background [go]"
paths:
- apps/worker-background/**
fixes:
- "xyz.io/::packages/"
Thanks a lot!