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:
13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
16
- ansible :
16
+ ansible_version :
17
17
- " 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"
18
26
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 ${{ matrix.python_version }} 🐍
31
+ uses : actions/setup-python@v5
32
+ with :
33
+ python-version : ${{ matrix.python_version }}
21
34
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 🧪
32
39
run : |
33
40
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