File tree 1 file changed +19
-7
lines changed 1 file changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,33 @@ 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
21
29
22
- - name : Install dependencies
30
+ - name : Setup Python ${{ matrix.python_version }} 🐍
31
+ uses : actions/setup-python@v5
32
+ with :
33
+ python-version : ${{ matrix.python_version }}
34
+
35
+ - name : Install dependencies 📦
23
36
run : |
24
37
pipx uninstall ansible-core
25
38
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
39
+ python3 -m pip install ansible-core==${{ matrix.ansible_version }}.* docker git+https://github.com/stackhpc/ansible-modules-hashivault@stackhpc
27
40
ansible-galaxy collection build
28
41
ansible-galaxy collection install *.tar.gz
29
42
30
- # TODO: Use ansible-test to run these.
31
- - name : Running integration tests
43
+ - name : Run integration tests 🧪
32
44
run : |
33
45
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