ci: add test job

This commit is contained in:
technofab 2025-09-17 12:53:35 +02:00
parent db488d8f41
commit 061a2bc4b7
No known key found for this signature in database

View file

@ -3,8 +3,19 @@
in in
cilib.mkCI { cilib.mkCI {
pipelines."default" = { pipelines."default" = {
stages = ["build" "deploy"]; stages = ["test" "build" "deploy"];
jobs = { jobs = {
"test" = {
stage = "test";
script = [
"nix run .#tests -- --junit=junit.xml"
];
allow_failure = true;
artifacts = {
when = "always";
reports.junit = "junit.xml";
};
};
"docs" = { "docs" = {
stage = "build"; stage = "build";
script = [ script = [