matrix-synapse: enable parallel tests

(cherry picked from commit 7574cf28fefffa5b76dba22eb76e03dafd22aaca)
This commit is contained in:
pennae 2021-09-21 13:15:22 +02:00 committed by Maximilian Bosch
parent cb996bbf84
commit 5c7c36a483
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
1 changed files with 1 additions and 1 deletions

View File

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