actions: enable unit tests in PR check

Right now we only run UTs for agent. We need to run it for *ALL*
components.

Fixes: #1538
Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
Peng Tao
2021-03-23 18:13:49 +08:00
parent 74192d179d
commit fc0f93aef9
3 changed files with 18 additions and 21 deletions

View File

@@ -141,6 +141,9 @@ clippy: $(GENERATED_CODE)
-Aclippy::redundant_allocation \
-D warnings
format:
cargo fmt -- --check
##TARGET install: install agent
install: install-services
@@ -157,7 +160,7 @@ test:
@cargo test --all --target $(TRIPLE)
##TARGET check: run test
check: test
check: clippy format
##TARGET run: build and run agent
run: