mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 09:58:06 +00:00
Notably, this adds our checks on translated message strings to `tools/test-all`, so that they don't cause surprise failures in CI after a branch is pushed. (Alternately they could have gone in `tools/lint` to accomplish the same goal, but `makemessages` which they depend on is quite slow -- on my machine it takes 7s, compared to 10s for all of `tools/lint`.)
26 lines
744 B
Bash
Executable File
26 lines
744 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source tools/travis/activate-venv
|
|
|
|
set -e
|
|
set -x
|
|
|
|
./tools/lint --pep8 # Include the slow and thus non-default pep8 linter check
|
|
python manage.py makemessages --locale en
|
|
python -W ignore tools/check-capitalization --no-generate
|
|
python -W ignore tools/check-frontend-i18n --no-generate
|
|
|
|
./tools/test-tools
|
|
./tools/test-backend --coverage
|
|
./tools/test-migrations
|
|
./tools/optimize-svg
|
|
./tools/test-documentation
|
|
./tools/test-help-documentation.py
|
|
./tools/test-api
|
|
#./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.
|