diff options
Diffstat (limited to 'ansible_collections/theforeman/foreman/Makefile')
-rw-r--r-- | ansible_collections/theforeman/foreman/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ansible_collections/theforeman/foreman/Makefile b/ansible_collections/theforeman/foreman/Makefile index 685424f48..0a5415775 100644 --- a/ansible_collections/theforeman/foreman/Makefile +++ b/ansible_collections/theforeman/foreman/Makefile @@ -49,10 +49,12 @@ lint: $(MANIFEST) $(RUNTIME_YML) | tests/test_playbooks/vars/server.yml ansible-lint -v --offline roles/* ansible-playbook --syntax-check tests/test_playbooks/*.yml | grep -v '^$$' flake8 --ignore=E402,W503 --max-line-length=160 plugins/ tests/ - GALAXY_IMPORTER_CONFIG=tests/galaxy-importer.cfg python -m galaxy_importer.main $(NAMESPACE)-$(NAME)-$(VERSION).tar.gz @echo "Check that there are no changes to $(RUNTIME_YML)" git diff --exit-code $(RUNTIME_YML) +galaxy-importer: $(MANIFEST) + GALAXY_IMPORTER_CONFIG=tests/galaxy-importer.cfg python -m galaxy_importer.main $(NAMESPACE)-$(NAME)-$(VERSION).tar.gz + sanity: $(MANIFEST) # Fake a fresh git repo for ansible-test cd $(<D) ; git init ; echo tests > .gitignore ; ansible-test sanity $(SANITY_OPTS) --python $(PYTHON_VERSION) @@ -88,7 +90,7 @@ clean_%: FORCE $(MANIFEST) setup: test-setup test-setup: | tests/test_playbooks/vars/server.yml - pip install --upgrade --force-reinstall 'pip<23.1' + pip install --upgrade pip pip install --upgrade -r requirements-dev.txt tests/test_playbooks/vars/server.yml: |