TESTS = 

all: check build test doc

check:
	cargo clippy --all-targets -- -Dwarnings
	cargo deny check -Dwarnings

build:
	cargo build --all-targets
	subplot docgen ci-broker.subplot -o ci-broker.html

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
