File tree 2 files changed +20
-9
lines changed 2 files changed +20
-9
lines changed Original file line number Diff line number Diff line change 6
6
lint :
7
7
uses : stackhpc/.github/.github/workflows/lint-collection.yml@main
8
8
with :
9
- lint_pip_dependencies : git+https://github.com/stackhpc/ansible-modules-hashivault@stackhpc
9
+ lint_pip_dependencies : git+https://github.com/stackhpc/ansible-modules-hashivault@c22434d887f0b8a5ac3ebda710664a027291e71c
Original file line number Diff line number Diff line change @@ -13,21 +13,32 @@ jobs:
13
13
strategy :
14
14
fail-fast : false
15
15
matrix :
16
- ansible :
17
- - " 2.12"
16
+ ansible_version :
17
+ - " 2.15"
18
+ - " 2.18"
19
+ python_version :
20
+ - " 3.9"
21
+ - " 3.11"
22
+ exclude :
23
+ - python_version : " 3.9"
24
+ ansible_version : " 2.18"
18
25
steps :
19
- # Checks-out the repository under $GITHUB_WORKSPACE, so it's accessible to the job
20
- - uses : actions/checkout@v3
26
+ - name : Github Checkout 🛎
27
+ uses : actions/checkout@v4
21
28
22
- - name : Install dependencies
29
+ - name : Setup Python ${{ matrix.python_version }} 🐍
30
+ uses : actions/setup-python@v5
31
+ with :
32
+ python-version : ${{ matrix.python_version }}
33
+
34
+ - name : Install dependencies 📦
23
35
run : |
24
36
pipx uninstall ansible-core
25
37
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
38
+ python3 -m pip install ansible-core==${{ matrix.ansible_version }}.* docker git+https://github.com/stackhpc/ansible-modules-hashivault@c22434d887f0b8a5ac3ebda710664a027291e71c # yamllint disable-line rule:line-length
27
39
ansible-galaxy collection build
28
40
ansible-galaxy collection install *.tar.gz
29
41
30
- # TODO: Use ansible-test to run these.
31
- - name : Running integration tests
42
+ - name : Run integration tests 🧪
32
43
run : |
33
44
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