Skip to content

Add build action on nixostests blocktype#5

Merged
Mayeu merged 2 commits into
mainfrom
feat/add-build-on-nixostests
May 10, 2026
Merged

Add build action on nixostests blocktype#5
Mayeu merged 2 commits into
mainfrom
feat/add-build-on-nixostests

Conversation

@Mayeu
Copy link
Copy Markdown
Owner

@Mayeu Mayeu commented May 9, 2026

While test are indeed technically run, a build action allows to use proviso and skip every untouched test in the CI

@Mayeu Mayeu force-pushed the feat/add-build-on-nixostests branch 2 times, most recently from 537c62f to 825aa4d Compare May 9, 2026 17:31
Mayeu added 2 commits May 9, 2026 19:35
Reuses the generic actions.build (same pattern as installables,
runnables, devshells, containers). Lets downstream registries set
ci.build = 1 on nixostests blocks so std-action's proviso skips
targets whose test derivation is already cached, instead of
re-running the VM driver every time via ci.run = 1.

The interactive `run`/`run-vm`/`run-vm+` actions are unchanged.
Updates the bt-blocktypes namaka snapshot with the new `build`
entry under `nixostests.actions`.
@Mayeu Mayeu force-pushed the feat/add-build-on-nixostests branch from 825aa4d to a37805b Compare May 9, 2026 17:35
@Mayeu Mayeu merged commit 75c3c5e into main May 10, 2026
12 checks passed
@Mayeu Mayeu deleted the feat/add-build-on-nixostests branch May 10, 2026 20:27
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