mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-26 21:07:45 +08:00
- add `make test_unit` for unit tests with coverage (used by CI) - add `make test_cli` for CLI integration tests (used by CI) - only disable colors when CI env var is set (local dev gets colors) - remove legacy targets: test_go_test, test_go_short, test_go_race, test_go_expensive - update gotest.yml to use make targets instead of inline commands - add test artifacts to .gitignore
10 lines
291 B
Makefile
10 lines
291 B
Makefile
include mk/header.mk
|
|
|
|
CLEAN += $(d)/gotest.json $(d)/gotest.junit.xml
|
|
|
|
# Convert gotest.json (produced by test_unit) to JUnit XML format
|
|
$(d)/gotest.junit.xml: test/bin/gotestsum $(d)/gotest.json
|
|
gotestsum --no-color --junitfile $@ --raw-command cat $(@D)/gotest.json
|
|
|
|
include mk/footer.mk
|