Unverified Commit b8503f79 authored by Jacek Galowicz's avatar Jacek Galowicz Committed by GitHub
Browse files

pgweb: fix tests (#382297)

parents af770a26 f6a54e46
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  fetchFromGitHub,
  testers,
  pgweb,
  nixosTests,
}:

buildGoModule rec {
@@ -41,11 +42,14 @@ buildGoModule rec {
      "${builtins.concatStringsSep "|" skippedTests}"
    ];

  passthru.tests.version = testers.testVersion {
  passthru.tests = {
    version = testers.testVersion {
      version = "v${version}";
      package = pgweb;
      command = "pgweb --version";
    };
    integration_test = nixosTests.pgweb;
  };

  meta = with lib; {
    changelog = "https://github.com/sosedoff/pgweb/releases/tag/v${version}";