gitlab-ci-local: add version test (#306146)

This commit is contained in:
Aleksana 2024-09-03 19:44:42 +08:00 committed by GitHub
commit 5a20c5e55b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,8 @@
, fetchFromGitHub
, lib
, nix-update-script
, gitlab-ci-local
, testers
}:
buildNpmPackage rec {
@ -23,7 +25,12 @@ buildNpmPackage rec {
--replace-fail "npm run cleanup" "true"
'';
passthru.updateScript = nix-update-script { };
passthru = {
updateScript = nix-update-script { };
tests.version = testers.testVersion {
package = gitlab-ci-local;
};
};
meta = with lib;{
description = "Run gitlab pipelines locally as shell executor or docker executor";