zulip/tools/ci/frontend

26 lines
708 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
source tools/ci/activate-venv
set -e
set -x
./tools/lint --groups=frontend --skip=gitlint # gitlint disabled because flaky
# Run the node tests first, since they're fast and deterministic
./tools/test-js-with-node --coverage
2021-01-20 19:39:32 +01:00
# Check that various schemas are consistent. (is fast)
./tools/check-schemas
# Check capitalization of strings
./manage.py makemessages --locale en
PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
./tools/test-js-with-puppeteer
# 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.