Skip to content

Commit

Permalink
CI: update tested versions
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerysong committed Dec 10, 2024
1 parent 34ee66c commit 2736d98
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
env:
COLL_NS: flowerysong
COLL_NAME: melange
ANSIBLE_COLLECTIONS_PATHS: ${{ github.workspace }}
ANSIBLE_COLLECTIONS_PATH: ${{ github.workspace }}

jobs:
build_collection:
Expand All @@ -19,12 +19,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install 'git+https://github.com/ansible/ansible@stable-2.16#egg=ansible-core'
python -m pip install 'git+https://github.com/ansible/ansible@stable-2.18#egg=ansible-core'
- name: Build collection
run: ansible-galaxy collection build -vv
Expand All @@ -39,17 +39,16 @@ jobs:
needs: build_collection
name: static analysis (${{ matrix.ansible_version }}, py${{ matrix.python_version }})
strategy:
fail-fast: false
matrix:
python_version:
- 3.12
- 3.13
ansible_version:
- stable-2.16
- stable-2.18
- devel
include:
- ansible_version: stable-2.15
python_version: 3.11
- ansible_version: stable-2.15
python_version: 3.9
- ansible_version: stable-2.17
python_version: 3.12
runs-on: ubuntu-latest
steps:
- name: Set up Python
Expand Down

0 comments on commit 2736d98

Please sign in to comment.