Skip to content

Commit

Permalink
chore: bump tests
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Mar 19, 2024
1 parent b68ce66 commit 141916a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ pkgs ? import nixpkgs {}
, blockfrost-tests ?
(builtins.fetchGit {
url = "ssh://[email protected]/blockfrost/blockfrost-tests.git";
rev = "399a601197026f4ebb2050dfe9f744cbce86e398";
rev = "19dbe9f25a6afc9310c15fc249eba11113f6ef59";
allRefs = true;
})
, system ? builtins.currentSystem
}:
Expand Down Expand Up @@ -91,7 +92,7 @@ in
machine.wait_for_open_port(3000)
machine.succeed("cp -r ${blockfrost-tests} /tmp/tests")
machine.succeed(
"cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ IS_LOCAL=true TEST_AUTH=false IS_CACHED=true yarn test:mainnet --run' >&2"
"cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ IS_LOCAL=true SERVICE_NAME=ryo yarn test:mainnet --run' >&2"
)
'';
};
Expand Down Expand Up @@ -127,7 +128,7 @@ in
machine.wait_for_open_port(3000)
machine.succeed("cp -r ${blockfrost-tests} /tmp/tests")
machine.succeed(
"cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ IS_LOCAL=true TEST_AUTH=false IS_CACHED=true yarn test:preview --run' >&2"
"cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ IS_LOCAL=true SERVICE_NAME=ryo yarn test:preview --run' >&2"
)
'';
};
Expand Down Expand Up @@ -163,7 +164,7 @@ in
machine.wait_for_open_port(3000)
machine.succeed("cp -r ${blockfrost-tests} /tmp/tests")
machine.succeed(
"cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ IS_LOCAL=true TEST_AUTH=false IS_CACHED=true yarn test:preprod --run' >&2"
"cd /tmp/tests && NIX_PATH=nixpkgs=${nixpkgs} nix-shell --run 'SERVER_URL=http://localhost:3000/ IS_LOCAL=true SERVICE_NAME=ryo yarn test:preprod --run' >&2"
)
'';
};
Expand Down

0 comments on commit 141916a

Please sign in to comment.