mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-21 05:53:12 +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 \
|
||||
--cores 8 \
|
||||
--argstr pkgsVersion "nixpkgs-<<parameters.nixpkgs>>" \
|
||||
tests.nix
|
||||
nix/tests/
|
||||
|
||||
typechecks:
|
||||
docker:
|
||||
|
@ -2,6 +2,9 @@
|
||||
, tahoe-lafs-src
|
||||
, extras
|
||||
|
||||
# control how the test suite is run
|
||||
, doCheck ? false
|
||||
|
||||
# always dependencies
|
||||
, attrs
|
||||
, autobahn
|
||||
@ -117,6 +120,11 @@ buildPythonPackage {
|
||||
inherit pname version;
|
||||
src = tahoe-lafs-src;
|
||||
buildInputs = pythonPackageDependencies;
|
||||
|
||||
inherit doCheck;
|
||||
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