forked from girder/slicer_package_manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
41 lines (36 loc) · 724 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
[tox]
min_version = 3.28
isolated_build = true
envlist =
lint,
test
[testenv]
basepython = python3
[testenv:test]
deps =
pytest~=7.4.0 # See https://github.com/TvoroG/pytest-lazy-fixture/issues/63
pytest-girder==3.1.20
pytest-lazy-fixture
commands =
pytest {posargs}
[testenv:lint]
skipsdist = true
skip_install = true
deps =
pre-commit
commands =
pre-commit run --all-files {posargs}
[testenv:release]
passenv =
TWINE_USERNAME
TWINE_PASSWORD
deps =
twine
commands =
twine check {distdir}/*
twine upload --skip-existing {distdir}/*
[pytest]
addopts = --verbose --strict-markers --showlocals
testpaths = tests
markers =
external_data: mark data files to download.