mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-11 17:50:08 +01:00
26 lines
555 B
Nix
26 lines
555 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
self',
|
|
...
|
|
}: let
|
|
cilib = import ./../lib {inherit lib pkgs;};
|
|
in {
|
|
nixtest.suites."Pipeline YAMLs" = {
|
|
pos = __curPos;
|
|
tests = let
|
|
jsonFile = file: builtins.fromJSON (builtins.readFile file);
|
|
in [
|
|
{
|
|
name = "default";
|
|
type = "snapshot";
|
|
actual = jsonFile self'.legacyPackages."gitlab-ci:pipeline:default";
|
|
}
|
|
{
|
|
name = "non-default";
|
|
type = "snapshot";
|
|
actual = jsonFile self'.legacyPackages."gitlab-ci:pipeline:non-default";
|
|
}
|
|
];
|
|
};
|
|
}
|