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:
Felix Matouschek
2024-04-11 15:02:51 +02:00
parent e2d2da2670
commit 55a6acef5d
3 changed files with 14 additions and 1 deletions

View File

@@ -16,3 +16,15 @@ build-venv:
.PHONY: format
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