File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2424 uses : ansible-community/ansible-test-gh-action@release/v1
2525 with :
2626 ansible-core-version : ${{ matrix.ansible }}
27- collection-root : ansible_platform_collection
27+ collection-root : .
2828 testing-type : sanity
2929 target-python-version : 3.11
3030
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ SHELL=/bin/bash
33# Prefer python 3.11 but take python3 if 3.11 is not installed
44PYTHON := $(notdir $(shell for i in python3.11 python3; do command -v $$i; done|sed 1q) )
55RM ?= /bin/rm
6+ ANSIBLE_CONFIG ?= tools/ansible/ansible.cfg
7+ export ANSIBLE_CONFIG
68
79.PHONY : PYTHON_VERSION clean git_hooks_config \
810 collection-install collection-test collection-docs \
@@ -31,6 +33,10 @@ check_flake8:
3133check_isort :
3234 tox -e isort -- --check $(CHECK_SYNTAX_FILES )
3335
36+ # # Install the collection locally on your machine
37+ collection-install :
38+ ansible-galaxy collection install . --force
39+
3440# # Run the collection sanity tests
3541collection-sanity : collection-install
3642 cd /tmp/collections/ansible_collections/ansible/platform && \
You can’t perform that action at this time.
0 commit comments