Files
zulip/tools/travis/backend
Harshit Bansal f8b103bd98 tools: Add a test for checking locked requirements.
This commit adds a test to check if the user forgot to run
`tools/update-locked-requirements` after updating dependencies.

Modified by tabbott to disable it by default, since it takes over a
minute to run.

Fixes: #6324.
2017-10-11 22:55:15 -07:00

30 lines
850 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
./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
./tools/test-help-documentation
./tools/test-api
#./tools/test-locked-requirements # Disabled in CI because slow
#./tools/test-run-dev # Disabled in CI because flaky.
#./tools/test-queue-worker-reload # Disabled in CI because flaky.
# 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.