Skip to content

ci: check examples instead of building them in the test step - #320

Merged
AndreaGuarracino merged 1 commit into
mainfrom
ci/test-targets
Nov 14, 2026
Merged

AndreaGuarracino merged 1 commit into
mainfrom
ci/test-targets

Conversation

@AndreaGuarracino

Copy link
Copy Markdown
Member

Why: the test step builds the 41 examples, but they hold no tests that cargo runs (51 test executables, none from examples).

Change: the test step builds only lib, bins and tests, then runs doc-tests. A new step runs cargo check --release --examples, so the examples still have to compile.

Local time at 4 jobs: 217 s and 235 s before, 185 s and 184 s after.

@AndreaGuarracino
AndreaGuarracino merged commit bd68c88 into main Nov 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant