mirror of https://github.com/zulip/zulip.git
tests: Reorder tests in top-level test scripts to agree with each other.
This will make it easier to get the scripts to contain the same set of tests (with explicit, conscious exceptions), and to keep it that way.
This commit is contained in:
parent
192ec7c0f6
commit
cd7cd73538
|
@ -30,22 +30,30 @@ function run {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# prep
|
||||||
run ./tools/check-provision $FORCEARG
|
run ./tools/check-provision $FORCEARG
|
||||||
run ./tools/clean-repo
|
run ./tools/clean-repo
|
||||||
run ./tools/test-tools
|
|
||||||
run ./tools/lint --pep8 $FORCEARG
|
# travis/static-analysis
|
||||||
run ./tools/test-migrations
|
|
||||||
run ./tools/test-js-with-node
|
|
||||||
run ./tools/run-mypy
|
run ./tools/run-mypy
|
||||||
|
|
||||||
|
# travis/backend
|
||||||
|
run ./tools/lint --pep8 $FORCEARG
|
||||||
|
run ./tools/test-tools
|
||||||
run ./tools/test-backend $FORCEARG
|
run ./tools/test-backend $FORCEARG
|
||||||
run ./tools/test-js-with-casper $FORCEARG
|
run ./tools/test-migrations
|
||||||
# Not running SVG optimizing since it's low-churn
|
# Not running SVG optimizing since it's low-churn
|
||||||
# run ./tools/optimize-svg
|
# run ./tools/optimize-svg
|
||||||
# Not running queue worker reload tests since it's low-churn code
|
|
||||||
# run ./tools/test-queue-worker-reload
|
|
||||||
# Not running documentation tests since it takes 20s and only tests documentation
|
# Not running documentation tests since it takes 20s and only tests documentation
|
||||||
# run ./tools/test-documentation
|
# run ./tools/test-documentation
|
||||||
run ./tools/test-help-documentation.py $FORCEARG
|
run ./tools/test-help-documentation.py $FORCEARG
|
||||||
run ./tools/test-api
|
run ./tools/test-api
|
||||||
|
|
||||||
|
# Not running queue worker reload tests since it's low-churn code
|
||||||
|
# run ./tools/test-queue-worker-reload
|
||||||
|
|
||||||
|
# travis/frontend
|
||||||
|
run ./tools/test-js-with-node
|
||||||
|
run ./tools/test-js-with-casper $FORCEARG
|
||||||
|
|
||||||
printf '\n\e[32mAll OK!\e[0m\n'
|
printf '\n\e[32mAll OK!\e[0m\n'
|
||||||
|
|
|
@ -13,14 +13,15 @@ set -x
|
||||||
./tools/test-tools
|
./tools/test-tools
|
||||||
./tools/test-backend --coverage
|
./tools/test-backend --coverage
|
||||||
./tools/test-migrations
|
./tools/test-migrations
|
||||||
# test-run-dev temporarily disabled due to weird Travis CI issues.
|
|
||||||
#./tools/test-run-dev
|
|
||||||
./tools/optimize-svg
|
./tools/optimize-svg
|
||||||
./tools/test-documentation
|
./tools/test-documentation
|
||||||
./tools/test-help-documentation.py
|
./tools/test-help-documentation.py
|
||||||
./tools/test-api
|
./tools/test-api
|
||||||
|
|
||||||
|
# Some test suites disabled in CI for being flaky
|
||||||
|
#./tools/test-run-dev
|
||||||
|
#./tools/test-queue-worker-reload
|
||||||
|
|
||||||
python manage.py makemessages --locale en
|
python manage.py makemessages --locale en
|
||||||
python -W ignore tools/check-capitalization --no-generate
|
python -W ignore tools/check-capitalization --no-generate
|
||||||
python -W ignore tools/check-frontend-i18n --no-generate
|
python -W ignore tools/check-frontend-i18n --no-generate
|
||||||
# Some test suites disabled in CI for being flaky
|
|
||||||
#./tools/test-queue-worker-reload
|
|
||||||
|
|
Loading…
Reference in New Issue