2018-12-18 02:08:53 +01:00
|
|
|
#!/usr/bin/env bash
|
2016-07-18 23:22:10 +02:00
|
|
|
|
2018-12-10 08:05:16 +01:00
|
|
|
source tools/ci/activate-venv
|
2016-07-18 23:22:10 +02:00
|
|
|
|
2015-10-15 01:47:42 +02:00
|
|
|
set -e
|
|
|
|
set -x
|
2016-07-18 23:22:10 +02:00
|
|
|
|
2020-10-15 04:55:57 +02:00
|
|
|
./tools/lint --groups=frontend --skip=gitlint # gitlint disabled because flaky
|
2017-08-27 22:42:54 +02:00
|
|
|
|
|
|
|
# Run the node tests first, since they're fast and deterministic
|
2017-06-07 04:24:39 +02:00
|
|
|
./tools/test-js-with-node --coverage
|
2017-08-27 22:42:54 +02:00
|
|
|
|
2021-01-20 19:39:32 +01:00
|
|
|
# Check that various schemas are consistent. (is fast)
|
|
|
|
./tools/check-schemas
|
2020-07-26 09:13:16 +02:00
|
|
|
|
2017-08-27 22:42:54 +02:00
|
|
|
# Check capitalization of strings
|
|
|
|
./manage.py makemessages --locale en
|
|
|
|
PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
|
|
|
|
PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
|
|
|
|
|
2020-07-28 20:51:34 +02:00
|
|
|
./tools/test-js-with-puppeteer
|
2020-03-26 21:00:05 +01:00
|
|
|
|
2017-07-25 04:46:15 +02:00
|
|
|
# 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.
|