chore: add ci job for tests

This commit is contained in:
technofab 2026-01-04 21:28:53 +01:00
parent e6c13290bb
commit 1d63c19f2a
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ

View file

@ -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 = [