In checks

This commit is contained in:
2023-03-09 00:37:44 -05:00
parent edc6ee7520
commit 030820543c

View File

@@ -106,6 +106,13 @@
partitions = 1;
partitionType = "count";
});
runCommandHook = {
newalan = pkgs.writeScript "run-me" ''
#!${pkgs.runtimeShell}
${pkgs.jq}/bin/jq . "$HYDRA_JSON"
'';
};
} // lib.optionalAttrs (system == "x86_64-linux") {
# NB: cargo-tarpaulin only supports x86_64 systems
# Check code coverage (note: this will not upload coverage anywhere)
@@ -113,18 +120,6 @@
inherit cargoArtifacts;
});
};
hydraJobs = {
inherit newalan;
runCommandHooks = {
newalan = pkgs.writeScript "run-me" ''
#!${pkgs.runtimeShell}
sleep 10s
${pkgs.jq}/bin/jq . "$HYDRA_JSON" > ~/test.json
'';
};
};
packages.default = newalan;