.github: switch to codecov.io
coveralls doesn't work from GitHub actions. Its "github" service type uses the GITHUB_TOKEN from the action, which only has read access when invoked from a forked repository. codecov gets this right: it validates that an uploaded coverage file originated from a GitHub action run by asking GitHub, and then uses its OAuth credentials (through the Marketplace App) to comment and set status. Also, coveralls requires a third-party package to convert go's coverage report to a format it understands. codecov detects the format server-side. It also handles go's coverage format better: it highlights lines with "some coverage" in yellow (coveralls has no concept of this).
This commit is contained in:
parent
7f6d98ef74
commit
144570026d
3 changed files with 8 additions and 10 deletions
|
|
@ -40,10 +40,10 @@ Stand-alone test binaries also have the `-test.failfast` option.
|
|||
## Notes on code coverage
|
||||
|
||||
Code coverage is recorded in
|
||||
[Coveralls.io](https://coveralls.io/github/osbuild/osbuild-composer).
|
||||
[codecov.io](https://codecov.io/github/osbuild/osbuild-composer).
|
||||
This information comes only from unit tests and for the time being
|
||||
we're not concerned with collecting coverage information from integration
|
||||
tests, see `.github/workflows/coverage.yml`.
|
||||
tests, see `.github/workflows/tests.yml`.
|
||||
|
||||
|
||||
## Integration testing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue