mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-03-26 19:03:16 +00:00
Integration tests do not work with tox, therefore use ansible-test to run them. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
31 lines
514 B
Makefile
31 lines
514 B
Makefile
all:
|
|
|
|
.PHONY: cluster-up
|
|
cluster-up:
|
|
hack/e2e-setup.sh
|
|
|
|
.PHONY: cluster-down
|
|
cluster-down:
|
|
hack/e2e-setup.sh --install-kind --install-kubectl --cleanup
|
|
|
|
.PHONY: build-venv
|
|
build-venv:
|
|
tox run -e venv
|
|
ln -sf .tox/venv .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:
|
|
ansible-test integration
|