forked from RedHatQE/openshift-python-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.toml
More file actions
40 lines (34 loc) · 1.13 KB
/
tox.toml
File metadata and controls
40 lines (34 loc) · 1.13 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
34
35
36
37
38
39
40
skipsdist = true
env_list = [
"validate-resources",
"validate-resources-script",
"class-generator",
"resource-tests",
"api-group-order",
"validate-unittests",
]
[env.resource-tests]
description = "Run resource tests on local cluster (k3d)"
passenv = ["KUBECONFIG"]
deps = ["uv"]
commands = [["uv", "run", "pytest", "tests/test_resources.py"]]
[env.validate-resources]
description = "Run validation resources tests"
deps = ["uv"]
commands = [["uv", "run", "pytest", "tests/test_validate_resources.py"]]
[env.validate-resources-script]
description = "Run validation resources script tests (test the script itself, not the resources)"
deps = ["uv"]
commands = [["uv", "run", "pytest", "tests/test_validate_resources_script.py"]]
[env.class-generator]
description = "Run class generator tests"
deps = ["uv"]
commands = [["uv", "run", "pytest", "class_generator/"]]
[env.api-group-order]
description = "Run API group order tests"
deps = ["uv"]
commands = [["uv", "run", "pytest", "tests/test_api_group_order.py"]]
[env.unittests]
description = "Run unittests"
deps = ["uv"]
commands = [["uv", "run", "pytest", "tests/test_unittests.py", "-svv"]]