Skip to content

Commit

Permalink
ci-job-capsules: test capsules/{core,extra} instead of full workspace
Browse files Browse the repository at this point in the history
By running `cargo test` in /capsules, Cargo tests every crate in the
Workspace, slowing down CI unnecessarily in this step.
  • Loading branch information
lschuermann committed May 28, 2024
1 parent 91e78ea commit 5dd9414
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,8 @@ ci-job-kernel:
ci-job-capsules:
$(call banner,CI-Job: Capsules)
@# Capsule initialization depends on board/chip specific imports, so ignore doc tests
@cd capsules && NOWARNINGS=true RUSTFLAGS="-D warnings" TOCK_KERNEL_VERSION=ci_test cargo test --lib --examples
@cd capsules/core && NOWARNINGS=true RUSTFLAGS="-D warnings" TOCK_KERNEL_VERSION=ci_test cargo test --lib --examples
@cd capsules/extra && NOWARNINGS=true RUSTFLAGS="-D warnings" TOCK_KERNEL_VERSION=ci_test cargo test --lib --examples

.PHONY: ci-job-chips
ci-job-chips:
Expand Down

0 comments on commit 5dd9414

Please sign in to comment.