mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-03-26 19:03:16 +00:00
chore: Add tox-ansible configuration
Add tox-ansible configuration that allows to run tests with all required ansible and python versions. Add Makefile targets to make use of it. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -136,8 +136,9 @@ bin/
|
|||||||
*.tar.gz
|
*.tar.gz
|
||||||
*.zip
|
*.zip
|
||||||
|
|
||||||
# pytest-ansible
|
# pytest-ansible and tox-ansible
|
||||||
collections/
|
collections/
|
||||||
|
kubevirt.core
|
||||||
|
|
||||||
# Collection specific ignores
|
# Collection specific ignores
|
||||||
/changelogs/.plugin-cache.yaml
|
/changelogs/.plugin-cache.yaml
|
||||||
|
|||||||
12
Makefile
12
Makefile
@@ -16,3 +16,15 @@ build-venv:
|
|||||||
.PHONY: format
|
.PHONY: format
|
||||||
format:
|
format:
|
||||||
tox run -e format
|
tox run -e format
|
||||||
|
|
||||||
|
.PHONY: test-sanity
|
||||||
|
test-sanity:
|
||||||
|
tox -f sanity --ansible -p auto --conf tox-ansible.ini
|
||||||
|
|
||||||
|
.PHONY: test-unit
|
||||||
|
test-unit:
|
||||||
|
tox -f unit --ansible -p auto --conf tox-ansible.ini
|
||||||
|
|
||||||
|
.PHONY: test-integration
|
||||||
|
test-integration:
|
||||||
|
tox -f integration --ansible --conf tox-ansible.ini
|
||||||
|
|||||||
0
tox-ansible.ini
Normal file
0
tox-ansible.ini
Normal file
Reference in New Issue
Block a user