mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-29 11:14:31 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user