upsun: add test
This commit is contained in:
parent
ffc0157df6
commit
6ef43c9256
@ -2,6 +2,8 @@
|
||||
stdenvNoCC,
|
||||
lib,
|
||||
fetchurl,
|
||||
testers,
|
||||
upsun
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
@ -42,6 +44,13 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
inherit (finalAttrs) version;
|
||||
package = upsun;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/platformsh/cli";
|
||||
description = "The unified tool for managing your Upsun services from the command line";
|
||||
|
Loading…
Reference in New Issue
Block a user