Skip to content

Commit

Permalink
ci: bump python version (#91)
Browse files Browse the repository at this point in the history
* ci: bump python version

Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb authored and MAVRICK-1 committed Jul 16, 2024
1 parent ed79f09 commit 3f1bee6
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions .github/workflows/ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
ansible-version: [stable-2.17, stable-2.15, stable-2.16]
exclude:
# Ansible-core 2.16 is supported only from Python 3.10 onwards
- python-version: "3.9"
ansible-version: stable-2.16
python-version: ["3.10", "3.11"]
ansible-version: [stable-2.15, stable-2.16, stable-2.17]

steps:
- name: Perform unit testing with ansible-test
uses: ansible-community/ansible-test-gh-action@release/v1
uses: ansible-community/ansible-test-gh-action@v1.15.0
with:
testing-type: units
coverage: always
Expand All @@ -80,16 +76,12 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
ansible-version: [stable-2.17, stable-2.15, stable-2.16]
exclude:
# Ansible-core 2.16 is supported only from Python 3.10 onwards
- python-version: "3.9"
ansible-version: stable-2.16
python-version: ["3.10", "3.11"]
ansible-version: [stable-2.15, stable-2.16, stable-2.17]

steps:
- name: Perform sanity testing
uses: ansible-community/ansible-test-gh-action@release/v1
uses: ansible-community/ansible-test-gh-action@v1.15.0
with:
ansible-core-version: ${{ matrix.ansible-version }}
target-python-version: ${{ matrix.python-version }}
Expand All @@ -104,12 +96,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
ansible-version: [stable-2.17, stable-2.15, stable-2.16]
exclude:
# Ansible-core 2.16 is supported only from Python 3.10 onwards
- python-version: "3.9"
ansible-version: stable-2.16
python-version: ["3.10", "3.11", "3.12"]
ansible-version: [stable-2.15, stable-2.16, stable-2.17]

steps:
# Important: This sets up your GITHUB_WORKSPACE environment variable
Expand Down

0 comments on commit 3f1bee6

Please sign in to comment.