[debops.ansible_plugins] Run integration tests as part of CI runs

parent 7859f2b8
......@@ -105,7 +105,7 @@ twine-upload: ## Upload Python packages to PyPI
@twine upload dist/*
.PHONY: test-all
test-all: clean-tests test-pep8 test-debops-tools test-docs test-playbook-syntax test-yaml test-ansible-lint test-shell test-docker-build
test-all: clean-tests test-pep8 test-debops-tools test-debops-ansible_plugins test-docs test-playbook-syntax test-yaml test-ansible-lint test-shell test-docker-build
.PHONY: test-pep8
test-pep8:
......@@ -162,6 +162,11 @@ test-debops-tools:
@printf "%s\n" "Testing debops-tools using nose2..."
@nose2 --with-coverage
.PHONY: test-debops-ansible_plugins
test-debops-ansible_plugins:
@printf "%s\n" "Testing debops-ansible_plugins using nose2..."
@python3 ansible/roles/debops.ansible_plugins/filter_plugins/debops_filter_plugins.py
.PHONY: fail-if-git-dirty
fail-if-git-dirty:
@git diff --quiet && git diff --cached --quiet || ( \
......
......@@ -3,6 +3,7 @@
set -o nounset -o pipefail -o errexit
sudo apt-get -qq update
sudo apt-get -yq install python3-future
pip install --upgrade pip wheel setuptools
pip install \
unittest2 \
......
......@@ -3,5 +3,5 @@
set -o nounset -o pipefail -o errexit
make clean-tests
make test-debops-tools
make test-debops-tools test-debops-ansible_plugins
make check
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment