mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-02 19:26:44 +00:00
re-enable nix-based test suite runs
This commit is contained in:
parent
edd8e99178
commit
93cd2aa354
@ -438,7 +438,7 @@ jobs:
|
|||||||
cache_if_able nix-build \
|
cache_if_able nix-build \
|
||||||
--cores 8 \
|
--cores 8 \
|
||||||
--argstr pkgsVersion "nixpkgs-<<parameters.nixpkgs>>" \
|
--argstr pkgsVersion "nixpkgs-<<parameters.nixpkgs>>" \
|
||||||
tests.nix
|
nix/tests/
|
||||||
|
|
||||||
typechecks:
|
typechecks:
|
||||||
docker:
|
docker:
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
, tahoe-lafs-src
|
, tahoe-lafs-src
|
||||||
, extras
|
, extras
|
||||||
|
|
||||||
|
# control how the test suite is run
|
||||||
|
, doCheck ? false
|
||||||
|
|
||||||
# always dependencies
|
# always dependencies
|
||||||
, attrs
|
, attrs
|
||||||
, autobahn
|
, autobahn
|
||||||
@ -117,6 +120,11 @@ buildPythonPackage {
|
|||||||
inherit pname version;
|
inherit pname version;
|
||||||
src = tahoe-lafs-src;
|
src = tahoe-lafs-src;
|
||||||
buildInputs = pythonPackageDependencies;
|
buildInputs = pythonPackageDependencies;
|
||||||
|
|
||||||
|
inherit doCheck;
|
||||||
checkInputs = pythonCheckDependencies;
|
checkInputs = pythonCheckDependencies;
|
||||||
checkPhase = "TAHOE_LAFS_HYPOTHESIS_PROFILE=ci python -m twisted.trial -j $NIX_BUILD_CORES allmydata";
|
checkPhase = ''
|
||||||
|
export TAHOE_LAFS_HYPOTHESIS_PROFILE=ci
|
||||||
|
python -m twisted.trial -j $NIX_BUILD_CORES allmydata
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user