tests: Optimize test-backend performance.

This optimizes test-backend by skipping webhook
tests when run in default mode.

Tweaked by tabbott to extend the documentation and update the CI
commands.
This commit is contained in:
Raymond Akornor
2019-01-11 00:26:11 +00:00
committed by Tim Abbott
parent c78c3f423c
commit 4dc7f5354d
6 changed files with 27 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ set -x
./tools/lint --backend --no-gitlint --no-mypy # gitlint disabled because flaky
./tools/test-tools
./tools/test-backend --coverage
./tools/test-backend --coverage --include-webhooks
# We run mypy after the backend tests so we get output from the
# backend tests, which tend to uncover more serious problems, first.