2015-10-15 01:47:42 +02:00
|
|
|
#!/bin/bash
|
2016-07-18 23:22:10 +02:00
|
|
|
|
|
|
|
source tools/travis/activate-venv
|
2017-09-04 06:15:20 +02:00
|
|
|
echo "Test suite is running under $(python --version)."
|
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
|
|
|
|
2018-02-01 20:37:00 +01:00
|
|
|
./tools/lint --backend --no-gitlint # gitlint disabled because flaky
|
2017-03-10 05:21:03 +01:00
|
|
|
./tools/test-tools
|
2017-03-05 07:41:54 +01:00
|
|
|
./tools/test-backend --coverage
|
2017-08-27 22:39:58 +02:00
|
|
|
|
|
|
|
# We run mypy after the backend tests so we get output from the
|
|
|
|
# backend tests, which tend to uncover more serious problems, first.
|
2017-09-26 23:38:56 +02:00
|
|
|
./tools/run-mypy --version
|
2017-08-27 22:39:58 +02:00
|
|
|
./tools/run-mypy --linecoverage-report
|
|
|
|
|
2016-01-10 05:15:19 +01:00
|
|
|
./tools/test-migrations
|
2017-05-23 00:11:08 +02:00
|
|
|
./tools/optimize-svg
|
2018-01-09 19:44:21 +01:00
|
|
|
./tools/test-documentation ${CIRCLECI:+--skip-check-links}
|
2017-10-09 12:00:05 +02:00
|
|
|
./tools/test-help-documentation
|
2017-01-26 01:42:17 +01:00
|
|
|
./tools/test-api
|
2017-10-28 19:12:45 +02:00
|
|
|
./tools/test-locked-requirements
|
2017-12-29 08:48:44 +01:00
|
|
|
./tools/test-run-dev
|
2018-01-01 07:52:34 +01:00
|
|
|
./tools/test-queue-worker-reload
|
2017-07-25 04:37:23 +02: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.
|