File tree Expand file tree Collapse file tree 1 file changed +20
-13
lines changed Expand file tree Collapse file tree 1 file changed +20
-13
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,28 @@ jobs:
1313 strategy :
1414 fail-fast : false
1515 matrix :
16- ansible :
16+ ansible_version :
1717 - " 2.12"
18+ - " 2.15"
19+ - " 2.18"
20+ python_version :
21+ - " 3.9"
22+ - " 3.11"
23+ exclude :
24+ - python_version : " 3.9"
25+ ansible_version : " 2.18"
1826 steps :
19- # Checks-out the repository under $GITHUB_WORKSPACE, so it's accessible to the job
20- - uses : actions/checkout@v3
27+ - name : Github Checkout 🛎
28+ uses : actions/checkout@v4
29+
30+ - name : Setup Python 3.${{ matrix.python_version }} 🐍
31+ uses : actions/setup-python@v5
32+ with :
33+ python-version : 3.${{ matrix.python_version }}
2134
22- - name : Install dependencies
23- run : |
24- pipx uninstall ansible-core
25- python3 -m pip install --upgrade pip
26- python3 -m pip install ansible-core==${{ matrix.ansible }}.* docker git+https://github.com/stackhpc/ansible-modules-hashivault@stackhpc
27- ansible-galaxy collection build
28- ansible-galaxy collection install *.tar.gz
29-
30- # TODO: Use ansible-test to run these.
31- - name : Running integration tests
35+ - name : Install ansible-core 📦
36+ run : pip install ansible-core==${{ matrix.ansible_version }}.*
37+
38+ - name : Run integration tests 🧪
3239 run : |
3340 ansible-playbook -i tests/inventory -v tests/*.yml -e ansible_python_interpreter=$(which python3)
You can’t perform that action at this time.
0 commit comments