-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
45 lines (40 loc) · 852 Bytes
/
tox.ini
File metadata and controls
45 lines (40 loc) · 852 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
39
40
41
42
43
44
45
[tox]
envlist =
[testenv]
skip_install = true
setenv =
ANSIBLE_COLLECTIONS_PATH={work_dir}/{env_name}:.
deps=
-r requirements.txt
[testenv:lint]
deps=
-r tox/requirements-lint.txt
[testenv:run]
passenv =
ANSIBLE_CONFIG
TEST_ANSIBLE_GROUP
TEST_ANSIBLE_ARCHITECTURE
commands=
ansible-playbook --version
[testenv:molecule]
changedir={env:WORKDIR}
pass_env =
OVIRT_HOSTNAME
OVIRT_USERNAME
OVIRT_PASSWORD
ARA_API_CLIENT
ARA_API_SERVER
ARA_API_USERNAME
ARA_API_PASSWORD
setenv =
ANSIBLE_COLLECTIONS_PATH={work_dir}/{env_name}:.
ANSIBLE_CALLBACK_PLUGINS={env_site_packages_dir}/ara/plugins/callback
deps=
-r tox/requirements-molecule.txt
commands=
molecule test
[testenv:build]
requirements=
-r requirements.txt
commands=
ansible-galaxy collection build --output-path build --force "ansible_collections/sap/cluster_qa"