mirror of
https://gitlab.com/rensa-nix/devtools.git
synced 2025-12-11 22:00:07 +01:00
ci: add test job
This commit is contained in:
parent
db488d8f41
commit
061a2bc4b7
1 changed files with 12 additions and 1 deletions
|
|
@ -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 = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue