Files
radicle-ci-broker/Makefile
T
Lars Wirzenius 3f98488107 build(Makefile): limit duration of test runs
Sometimes I accidentally make a test that never finishes and uses all
the CPU and memory available. Killing that manually can be impossible,
because switching focus to the right terminal requires more CPU and
memory than the kernel can spare.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
2025-08-19 17:14:58 +03:00

24 lines
334 B
Makefile

TESTS =
all: check build test doc
check:
cargo clippy --all-targets -- -Dwarnings
cargo deny check -Dwarnings
build:
cargo build --all-targets
fast-test: build
timeout 60 cargo test -- --skip upgrades $(TESTS)
test: fast-test
timeout 300 cargo test -- $(TESTS)
.PHONY: doc
doc:
make -C doc
semver:
cargo semver-checks