mirror of
https://github.com/SELinuxProject/setools
synced 2025-01-28 10:32:47 +00:00
tox.ini: Change environments to use "python" instead of "py".
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
parent
985c9e50f7
commit
1d79493ba1
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
@ -27,12 +27,12 @@ jobs:
|
||||
|
||||
matrix:
|
||||
build-opts:
|
||||
- {python: '3.6', tox: py36}
|
||||
- {python: '3.7', tox: py37}
|
||||
- {python: '3.8', tox: py38}
|
||||
- {python: '3.9', tox: py39}
|
||||
- {python: '3.10', tox: py310}
|
||||
- {python: '3.11', tox: py311}
|
||||
- {python: '3.6', tox: python3.6}
|
||||
- {python: '3.7', tox: python3.7}
|
||||
- {python: '3.8', tox: python3.8}
|
||||
- {python: '3.9', tox: python3.9}
|
||||
- {python: '3.10', tox: python3.10}
|
||||
- {python: '3.11', tox: python3.11}
|
||||
- {python: '3.6', tox: pep8}
|
||||
- {python: '3.6', tox: lint}
|
||||
- {python: '3.6', tox: mypy}
|
||||
|
8
tox.ini
8
tox.ini
@ -1,6 +1,6 @@
|
||||
[tox]
|
||||
minversion = 2.4
|
||||
envlist = py3, pep8, lint, mypy
|
||||
envlist = python3, pep8, lint, mypy
|
||||
|
||||
[pycodestyle]
|
||||
max-line-length = 100
|
||||
@ -55,7 +55,9 @@ passenv = USERSPACE_SRC
|
||||
deps = networkx>=2.0
|
||||
cython>=0.29.14
|
||||
pytest>=6.0
|
||||
py36: dataclasses
|
||||
py39: networkx>=2.6
|
||||
python3.6: dataclasses
|
||||
python3.9: networkx>=2.6
|
||||
python3.10: networkx>=2.6
|
||||
python3.11: networkx>=2.6
|
||||
commands_pre = {envpython} setup.py build_ext -i
|
||||
commands = pytest tests
|
||||
|
Loading…
Reference in New Issue
Block a user