Skip to content

Commit

Permalink
reduce ansible-version for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bodsch committed Nov 16, 2023
1 parent 4df0fdb commit 07cc668
Showing 1 changed file with 59 additions and 4 deletions.
63 changes: 59 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
- archlinux:latest
ansible-version:
- '6.7'
- '7.5'
- '8.5'
#- '7.5'
#- '8.5'
python_version:
- "3.10.11"
- "3.11.3"
Expand Down Expand Up @@ -96,12 +96,67 @@ jobs:
image:
- debian:11
- debian:12
ansible-version:
- '6.7'
#- '7.5'
#- '8.5'
python_version:
- "3.10.11"
- "3.11.3"
scenario:
- default
collection_role:
- docker
- container
- registry
- registry_ui
steps:
- name: check out the codebase.
uses: actions/checkout@v3
with:
ref: ${{ github.event.workflow_run.head_branch }}

- name: 🐍 set up python
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python_version }}"

- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install -r test-requirements.txt
- name: Install collection
run: |
make \
install
- name: test with tox
run: |
make \
test \
-e TOX_ANSIBLE="ansible_${{ matrix.ansible-version }}" \
-e DISTRIBUTION="${{ matrix.image }}" \
-e COLLECTION_ROLE="${{ matrix.collection_role }}" \
-e COLLECTION_SCENARIO="${{ matrix.scenario }}"
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
DISTRIBUTION: ${{ matrix.image }}

ubu:
name: "${{ matrix.collection_role }} - ${{ matrix.image }}, ansible: ${{ matrix.ansible-version }}, python: ${{ matrix.python_version }}"
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
image:
- ubuntu:20.04
- ubuntu:22.04
ansible-version:
- '6.7'
- '7.5'
- '8.5'
#- '7.5'
#- '8.5'
python_version:
- "3.10.11"
- "3.11.3"
Expand Down

0 comments on commit 07cc668

Please sign in to comment.