Commit 57f7a835 authored by Valentin Reis's avatar Valentin Reis
Browse files

test flow change: do pytest within nix

parent 1d366ff1
Pipeline #6473 failed with stages
in 4 minutes and 46 seconds
......@@ -20,6 +20,11 @@ nrm:
script:
- "argonix build nrm --argopkgs $ARGOPKGS $EXTRA --verbose"
nrm-pytest:
extends: .build
script:
- "argonix build nrm-pytest --argopkgs $ARGOPKGS $EXTRA --verbose"
libnrm:
extends: .build
script:
......
......@@ -57,6 +57,8 @@ let
buildInputs = oldAttrs.buildInputs ++ [ pkgs.mpich2 ];
});
nrm-pytest = nrm.overrideAttrs (old:{checkPhase="py.test";});
numabench-check = numabench.overrideAttrs(old: {
buildPhase = "make check";
installPhase =''
......
{ src, stdenv, pythonPackages, hwloc, linuxPackages, containers, pyzmq }:
{ src, stdenv, pythonPackages, hwloc, linuxPackages, containers, pyzmq}:
pythonPackages.buildPythonPackage {
inherit src;
name = "nrm";
propagatedBuildInputs = [ pythonPackages.six pythonPackages.numpy pythonPackages.tornado pyzmq hwloc linuxPackages.perf pythonPackages.docopt containers];
buildInputs = with pythonPackages;[ pytest];
testPhase = '' pytest '';
checkInputs = [ pythonPackages.pytest ];
#checkPhase = "py.test";
}
......@@ -2,8 +2,8 @@
"fetch": {
"args": {
"fetchSubmodules": false,
"rev": "e01ce64035bb2a47c0e7348f8c32b54e961be194",
"sha256": "0q840m2bvb3dk8i8qnlax40xklmwh5lmzk05rzfx49l67s3d4nrp",
"rev": "3e354d82f070468baeb95261e4319967a6e37975",
"sha256": "0fqrv9n1cdvhldz6acmbiqsx89mjxcia4rarm5cnyids65p9p58w",
"url": "https://xgitlab.cels.anl.gov/argo/nrm.git"
},
"fn": "fetchgit"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment