diff --git a/cells/repo/ci.nix b/cells/repo/ci.nix index b0798f3..e3868a2 100644 --- a/cells/repo/ci.nix +++ b/cells/repo/ci.nix @@ -3,8 +3,19 @@ in cilib.mkCI { pipelines."default" = { - stages = ["build" "deploy"]; + stages = ["test" "build" "deploy"]; jobs = { + "test:lib" = { + stage = "test"; + script = [ + "nix run .#tests -- --junit=junit.xml" + ]; + allow_failure = true; + artifacts = { + when = "always"; + reports.junit = "junit.xml"; + }; + }; "docs" = { stage = "build"; script = [