mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
This is fairly often -- though not always! -- failing, with a nasty failure mode where it takes like 6 minutes to time out. See discussion on #7748 (search for "bad link"). Actually, after seeing it happen just now when running test-documentation on my laptop, on some other link, it occurs to me that I've seen this before -- it's fairly common in Travis, too. It's just that it doesn't actually cause the build to fail :-/, and on Travis we haven't been paying as close attention to slow builds as we are on Circle right now.
33 lines
899 B
Bash
Executable File
33 lines
899 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source tools/travis/activate-venv
|
|
echo "Test suite is running under $(python --version)."
|
|
|
|
set -e
|
|
set -x
|
|
|
|
#./tools/lint --backend ${CIRCLECI:+--no-gitlint}
|
|
# TEMP: turn off git lint
|
|
./tools/lint --backend --no-gitlint
|
|
./tools/test-tools
|
|
./tools/test-backend --coverage
|
|
|
|
# We run mypy after the backend tests so we get output from the
|
|
# backend tests, which tend to uncover more serious problems, first.
|
|
./tools/run-mypy --version
|
|
./tools/run-mypy --linecoverage-report
|
|
|
|
./tools/test-migrations
|
|
./tools/optimize-svg
|
|
./tools/test-documentation ${CIRCLECI:+--skip-check-links}
|
|
./tools/test-help-documentation
|
|
./tools/test-api
|
|
./tools/test-locked-requirements
|
|
./tools/test-run-dev
|
|
./tools/test-queue-worker-reload
|
|
|
|
./tools/test-slack-importer
|
|
# NB: Everything here should be in `tools/test-all`. If there's a
|
|
# reason not to run it there, it should be there as a comment
|
|
# explaining why.
|