mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Python: Copy Python extractor to codeql repo
This commit is contained in:
15
python/extractor/tox.ini
Normal file
15
python/extractor/tox.ini
Normal file
@@ -0,0 +1,15 @@
|
||||
[tox]
|
||||
envlist = py37, py38, py39, py310, py311, py312
|
||||
minversion = 4.11.3
|
||||
isolated_build = true
|
||||
|
||||
[testenv]
|
||||
skip_install = true
|
||||
allowlist_externals = poetry
|
||||
commands_pre =
|
||||
poetry env use -- {env_python}
|
||||
poetry install
|
||||
commands =
|
||||
poetry run pytest tests/
|
||||
setenv =
|
||||
VIRTUALENV_DISCOVERY = pyenv
|
||||
Reference in New Issue
Block a user