Unverified Commit 6ef43c92 authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

upsun: add test

parent ffc0157d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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";