forked from oasis-open/cti-python-stix2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (33 loc) · 653 Bytes
/
tox.ini
File metadata and controls
38 lines (33 loc) · 653 Bytes
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 = py38,py39,py310,py311,py312,packaging,pre-commit-check
[testenv]
deps =
tox
pytest
pytest-cov
coverage
taxii2-client
rapidfuzz
haversine
medallion
commands =
python -m pytest --cov=stix2 stix2/test/ --cov-report term-missing -W ignore::stix2.exceptions.STIXDeprecationWarning
passenv = GITHUB_*
[testenv:packaging]
deps =
twine
commands =
python setup.py sdist bdist_wheel --universal
twine check dist/*
[testenv:pre-commit-check]
deps =
pre-commit
commands =
pre-commit run --all-files
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311, packaging, pre-commit-check
3.12: py312