forked from bastienboutonnet/sheetwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (41 loc) · 730 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
[tox]
envlist = {py3611,py37,py38}-{cover,nocov}-{linux,windows}
isolated_build = true
skip_missing_interpreters = true
require_poetry = true
[testenv]
require_locked_deps = true
locked_deps =
dataclasses
pytest
pytest-cov
toml
wheel =
cover: false
nocover: true
setenv =
APPDATA = ''
whitelist_externals =
echo
pytest
poetry
commands =
echo {env:APPDATA}
poetry install -v
poetry run pytest tests/
[gh-actions]
python =
3.8: py38
3.6: py3611
3.7: py37
[gh-actions:env]
PLATFORM =
ubuntu-latest: linux
windows-latest: windows
[testenv:package]
skip_install = True
deps =
twine
commands =
python3 -m poetry build
python3 -m twine check dist/*