1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 17:46:29 +09:00

nixosTests.nextflow: migrate to runTestOn

Part of #386873
This commit is contained in:
Piotr Kwiecinski 2025-04-16 13:47:54 +02:00
parent d3f5b059bb
commit 1cfcbd9a94
No known key found for this signature in database
GPG key ID: EC0DE1CB9D5258B4
2 changed files with 55 additions and 57 deletions

View file

@ -885,7 +885,7 @@ in
# TODO: put in networking.nix after the test becomes more complete
networkingProxy = handleTest ./networking-proxy.nix { };
nextcloud = handleTest ./nextcloud { };
nextflow = handleTestOn [ "x86_64-linux" ] ./nextflow.nix { };
nextflow = runTestOn [ "x86_64-linux" ] ./nextflow.nix;
nextjs-ollama-llm-ui = runTest ./web-apps/nextjs-ollama-llm-ui.nix;
nexus = handleTest ./nexus.nix { };
# TODO: Test nfsv3 + Kerberos

View file

@ -1,6 +1,5 @@
import ./make-test-python.nix (
{ pkgs, ... }:
let
{ pkgs, ... }:
let
bash = pkgs.dockerTools.pullImage {
imageName = "quay.io/nextflow/bash";
imageDigest = "sha256:bea0e244b7c5367b2b0de687e7d28f692013aa18970941c7dd184450125163ac";
@ -32,8 +31,8 @@ import ./make-test-python.nix (
done
'';
};
in
{
in
{
name = "nextflow";
nodes.machine =
@ -56,5 +55,4 @@ import ./make-test-python.nix (
machine.succeed("docker load < ${bash}")
machine.succeed("run-nextflow-pipeline >&2")
'';
}
)
}