Skip to content

Commit c449c56

Browse files
committed
feat: add ansible 2.15 and 2.18 to test matrix
1 parent d75e16b commit c449c56

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

.github/workflows/pull_request.yml

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,33 @@ 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
2129

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 📦
2336
run: |
2437
pipx uninstall ansible-core
2538
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
2740
ansible-galaxy collection build
2841
ansible-galaxy collection install *.tar.gz
2942
30-
# TODO: Use ansible-test to run these.
31-
- name: Running integration tests
43+
- name: Run integration tests 🧪
3244
run: |
3345
ansible-playbook -i tests/inventory -v tests/*.yml -e ansible_python_interpreter=$(which python3)

0 commit comments

Comments
 (0)