Merge pull request #138798 from pennae/synapse-parallel-tests

matrix-synapse: enable parallel tests
This commit is contained in:
Maximilian Bosch 2021-09-21 14:02:05 +02:00 committed by GitHub
commit e390a20369
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ buildPythonApplication rec {
doCheck = !stdenv.isDarwin;
checkPhase = ''
PYTHONPATH=".:$PYTHONPATH" ${py.interpreter} -m twisted.trial tests
PYTHONPATH=".:$PYTHONPATH" ${py.interpreter} -m twisted.trial -j $NIX_BUILD_CORES tests
'';
passthru.tests = { inherit (nixosTests) matrix-synapse; };