-
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathtox.ini
More file actions
33 lines (32 loc) · 1.28 KB
/
tox.ini
File metadata and controls
33 lines (32 loc) · 1.28 KB
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
[tox]
envlist = py39, py310, py311, py312, py313, py314
skip_missing_interpreters = true
# this repo is not a Python package - it is a collection of check plugin scripts.
# tell tox not to build/install an sdist from the repo root, otherwise setuptools
# auto-discovery trips over the top-level lib/, site/, assets/ and testing/ dirs.
no_package = true
[testenv]
deps =
beautifulsoup4
# Pinned to match requirements.txt so the tox matrix picks up the
# lftest helpers (run, attach_tests, attach_each, run_mariadb,
# MARIADB_LTS_IMAGES) that the unit tests rely on. Raise this on
# every lib bump that introduces new test helpers; otherwise tests
# that use them only work through the sys.path.insert(0, '..')
# shadow and break on any CI runner that does not have the lib
# repo checked out side-by-side.
linuxfabrik-lib>=3.2.0
lxml
psutil
python-keystoneclient
python-novaclient
python-swiftclient
pyyaml
smbprotocol
vici
xmltodict
commands =
# `--no-container` keeps tox focused on fast pure-Python unit tests so
# the multi-Python matrix actually completes. Run `tools/run-container-tests`
# separately for the container-backed integration suite (podman required).
python tools/run-unit-tests --no-container {posargs}