forked from spacetelescope/stcal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (40 loc) · 918 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
39
40
41
42
43
44
45
46
47
48
[tox]
envlist= py38,style,bandit
[testenv]
usedevelop= true
extras=
test
passenv =
TOXENV
CI
CODECOV_*
HOME
CRDS_*
commands=
!cov: pytest {posargs}
cov: pytest --cov-report=xml --cov=src/stcal --cov-config=setup.cfg {posargs}
[testenv:style]
deps=
flake8
commands=
flake8 --count
[testenv:bandit]
deps=
bandit
commands=
bandit -r -ll src
[testenv:build-docs]
extras= docs
commands=
sphinx-build -W docs/source build/docs
[testenv:jwst-cov]
deps=
jwst[test] @ git+https://github.com/spacetelescope/jwst
pytest-xdist
commands=
pytest -n auto --cov-report=xml --cov={toxinidir}/src/stcal --ignore-glob=timeconversion --ignore-glob=associations --pyargs {posargs:jwst}
[testenv:romancal-cov]
deps=
romancal[test] @ git+https://github.com/spacetelescope/romancal
commands=
pytest --cov-report=xml --cov={toxinidir}/src/stcal --pyargs romancal