Smoke tests (#604)

smoke tests
This commit is contained in:
Charlotte Weaver
2019-02-27 15:46:58 -08:00
committed by GitHub
parent 6b33315cbe
commit 2bae696986
11 changed files with 555 additions and 10 deletions
+15 -7
View File
@@ -12,10 +12,18 @@ install:
- make install
- pip install -r server/requirements-dev.txt
- docker build .
script:
- set -eo pipefail
- flake8 server
- black --check
- npm run --prefix client/ build
- npm run --prefix client/ test
- pytest -s server/test
jobs:
include:
- name: "Branch Tests"
script:
- set -eo pipefail
- flake8 server
- black --check
- npm run --prefix client/ build
- npm run --prefix client/ unit-test
- pytest -s server/test
- name: "Smoke Tests"
if: branch = master AND type = cron
script:
- npm run --prefix client/ smoke-test