forked from equinor/gordo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
39 lines (33 loc) · 1.65 KB
/
setup.cfg
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
39
[aliases]
# All tests in parallel, minus any requiring docker
test = pytest --addopts "-n auto -m 'not dockertest'"
# Test _everything_
testall = pytest --addopts "--cov-report=xml --cov=gordo_components"
# Only run tests which use docker
testdocker = pytest --addopts "-m 'dockertest'"
# Component level filtering of tests
testbuilder = pytest --addopts "tests/gordo_components/builder"
testcli = pytest --addopts "tests/gordo_components/cli"
testclient = pytest --addopts "tests/gordo_components/client"
testdataprovider = pytest --addopts "tests/gordo_components/data_provider"
testdataset = pytest --addopts "tests/gordo_components/dataset"
testmodel = pytest --addopts "tests/gordo_components/model"
testserializer = pytest --addopts "tests/gordo_components/serializer"
testserver = pytest --addopts "tests/gordo_components/server"
testutil = pytest --addopts "tests/gordo_components/util"
testwatchman = pytest --addopts "tests/gordo_components/watchman"
# Black formatting
testformatting = pytest --addopts "tests/test_formatting.py"
# all else, ie mypy, flakes, examples, etc.
testallelse = pytest --addopts
"--ignore tests/gordo_components/builder
--ignore tests/gordo_components/cli
--ignore tests/gordo_components/client
--ignore tests/gordo_components/data_provider
--ignore tests/gordo_components/dataset
--ignore tests/gordo_components/model
--ignore tests/gordo_components/serializer
--ignore tests/gordo_components/server
--ignore tests/gordo_components/util
--ignore tests/gordo_components/watchman
--ignore tests/test_formatting.py"