From 061a2bc4b7532bca64e729866361fdb8835c6670 Mon Sep 17 00:00:00 2001 From: technofab Date: Wed, 17 Sep 2025 12:53:35 +0200 Subject: [PATCH] ci: add test job --- nix/repo/ci.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/nix/repo/ci.nix b/nix/repo/ci.nix index b0798f3..913d8fc 100644 --- a/nix/repo/ci.nix +++ b/nix/repo/ci.nix @@ -3,8 +3,19 @@ in cilib.mkCI { pipelines."default" = { - stages = ["build" "deploy"]; + stages = ["test" "build" "deploy"]; jobs = { + "test" = { + stage = "test"; + script = [ + "nix run .#tests -- --junit=junit.xml" + ]; + allow_failure = true; + artifacts = { + when = "always"; + reports.junit = "junit.xml"; + }; + }; "docs" = { stage = "build"; script = [