0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-28 00:26:24 +01:00
hono/codecov.yml
TATSUNO “Taz” Yasuhiro 8cc8a05c89
ci: Report coverage with CodeCov (#2862)
* Output coverage per each test

* Collect coverage

* Exclude test-only files

* update comment

* exclude types

* Add config

* Update bun comment

* Generate coverage in Deno
2024-06-01 04:17:47 +09:00

14 lines
446 B
YAML

# Edit "test.coverage.exclude" option in vitest.config.ts to exclude specific files from coverage reports.
# We can also use "ignore" option in codecov.yml, but it is not recognized by vitest, so results may differ on local.
coverage:
status:
patch:
default:
target: 80%
informational: true # Don't fail the build even if coverage is below target
project:
default:
target: 75%
threshold: 1%