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
|
|
|
|
2017-08-25 15:25:51 +02:00
|
|
|
./tools/lint --backend
|
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.
|
|
|
|
./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
|
2016-10-29 19:54:17 +02:00
|
|
|
./tools/test-documentation
|
2016-12-27 01:17:25 +01:00
|
|
|
./tools/test-help-documentation.py
|
2017-01-26 01:42:17 +01:00
|
|
|
./tools/test-api
|
2017-07-25 04:46:15 +02:00
|
|
|
#./tools/test-run-dev # Disabled in CI because flaky.
|
|
|
|
#./tools/test-queue-worker-reload # Disabled in CI because flaky.
|
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.
|