mirror of
https://github.com/logos-co/logos-modules-state-module.git
synced 2026-08-27 13:11:12 +00:00
This repo had no CI at all: every green so far has been someone running nix by
hand on one machine.
Matrix over ubuntu-latest and macos-latest, matching the sibling module repos.
Three steps, each a distinct failure mode: `nix build` compiles the plugin,
`.#unit-tests` runs the suite, `.#install` builds the installable tree, which is
produced by different code than the plugin.
`.#unit-tests` rather than `.#checks.<system>.unit-tests` because they are the
SAME DERIVATION (verified: identical drvPath) and the package form needs no
per-matrix system string. It RUNS the suite -- checked, not assumed, because
mkLogosModuleTests finds suites with
find . -maxdepth 1 -executable \( -name "*_tests" -o -name "*_test" \)
so a binary named anything else is built, matched by nothing, never executed,
and the check still goes GREEN. This suite was once `modules_state_invariants`
and passed three mutation tests it should have caught before that was spotted.
Deliberately NOT `nix flake check`: checks are exposed for x86_64-windows too,
and that one cannot evaluate here.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>