ci: Run test-backend with limited parallelism.

See the comment for details; this should fix timeouts we've been
seeing in CI.
This commit is contained in:
Tim Abbott 2019-05-08 18:25:16 -07:00
parent b553507412
commit 7c94d350d4
1 changed files with 5 additions and 1 deletions

View File

@ -8,7 +8,11 @@ set -x
./tools/lint --backend --no-gitlint --no-mypy # gitlint disabled because flaky
./tools/test-tools
./tools/test-backend --coverage --include-webhooks
# We need to pass a parallel level to test-backend because CircleCI's
# docker setup means the auto-detection logic sees the ~36 processes
# the Docker host has, not the ~2 processes of resources we're
# allocated.
./tools/test-backend --coverage --include-webhooks --parallel=6
# We run mypy after the backend tests so we get output from the
# backend tests, which tend to uncover more serious problems, first.