forked from dagster-io/dagster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
38 lines (35 loc) · 1004 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[tox]
envlist = py{38,37,36}
skipsdist = True
[testenv]
passenv = CI_* COVERALLS_REPO_TOKEN AWS_SECRET_ACCESS_KEY AWS_ACCESS_KEY_ID BUILDKITE
deps =
-e ../../python_modules/dagster[test]
-e ../../python_modules/dagster-graphql
-e ../../python_modules/libraries/dagster-slack
-e ../../python_modules/dagit
usedevelop = False
whitelist_externals =
/bin/bash
echo
git
yarn
commands =
!windows: /bin/bash -c '! pip list --exclude-editable | grep -e dagster -e dagit'
coverage erase
echo -e "--- \033[0;32m:Running dagit webapp tests\033[0m"
yarn install
yarn workspace @dagit/core generate-graphql
yarn workspace @dagit/app lint
yarn workspace @dagit/app ts
yarn workspace @dagit/core ts
yarn workspace @dagit/core jest --clearCache
yarn workspace @dagit/core jest --collectCoverage --watchAll=false
yarn workspace @dagit/core check-prettier
yarn workspace @dagit/core check-lint
[testenv:pylint]
whitelist_externals =
/bin/bash
pylint
basepython =
python3.7