Clean up workflow.

This commit is contained in:
Felix Fontein 2025-02-11 22:52:54 +01:00
parent 22ab85fe2b
commit ab53cb2e80

View File

@ -30,15 +30,7 @@ jobs:
matrix: matrix:
ansible: ansible:
- '2.15' - '2.15'
# Ansible-test on various stable branches does not yet work well with cgroups v2. runs-on: ubuntu-latest
# Since ubuntu-latest now uses Ubuntu 22.04, we need to fall back to the ubuntu-20.04
# image for these stable branches. The list of branches where this is necessary will
# shrink over time, check out https://github.com/ansible-collections/news-for-maintainers/issues/28
# for the latest list.
runs-on: >-
${{ contains(fromJson(
'["2.9", "2.10", "2.11"]'
), matrix.ansible) && 'ubuntu-20.04' || 'ubuntu-latest' }}
steps: steps:
- name: Perform sanity testing - name: Perform sanity testing
uses: felixfontein/ansible-test-gh-action@main uses: felixfontein/ansible-test-gh-action@main
@ -53,15 +45,7 @@ jobs:
git clone --depth=1 --single-branch --branch stable-1 https://github.com/ansible-collections/community.library_inventory_filtering.git ../../community/library_inventory_filtering_v1 git clone --depth=1 --single-branch --branch stable-1 https://github.com/ansible-collections/community.library_inventory_filtering.git ../../community/library_inventory_filtering_v1
units: units:
# Ansible-test on various stable branches does not yet work well with cgroups v2. runs-on: ubuntu-latest
# Since ubuntu-latest now uses Ubuntu 22.04, we need to fall back to the ubuntu-20.04
# image for these stable branches. The list of branches where this is necessary will
# shrink over time, check out https://github.com/ansible-collections/news-for-maintainers/issues/28
# for the latest list.
runs-on: >-
${{ contains(fromJson(
'["2.9", "2.10", "2.11"]'
), matrix.ansible) && 'ubuntu-20.04' || 'ubuntu-latest' }}
name: EOL Units (Ⓐ${{ matrix.ansible }}) name: EOL Units (Ⓐ${{ matrix.ansible }})
strategy: strategy:
# As soon as the first unit test fails, cancel the others to free up the CI queue # As soon as the first unit test fails, cancel the others to free up the CI queue
@ -84,15 +68,7 @@ jobs:
git clone --depth=1 --single-branch --branch stable-1 https://github.com/ansible-collections/community.library_inventory_filtering.git ../../community/library_inventory_filtering_v1 git clone --depth=1 --single-branch --branch stable-1 https://github.com/ansible-collections/community.library_inventory_filtering.git ../../community/library_inventory_filtering_v1
integration: integration:
# Ansible-test on various stable branches does not yet work well with cgroups v2. runs-on: ubuntu-latest
# Since ubuntu-latest now uses Ubuntu 22.04, we need to fall back to the ubuntu-20.04
# image for these stable branches. The list of branches where this is necessary will
# shrink over time, check out https://github.com/ansible-collections/news-for-maintainers/issues/28
# for the latest list.
runs-on: >-
${{ contains(fromJson(
'["2.9", "2.10", "2.11"]'
), matrix.ansible) && 'ubuntu-20.04' || 'ubuntu-latest' }}
name: EOL I (Ⓐ${{ matrix.ansible }}+${{ matrix.docker }}+py${{ matrix.python }}:${{ matrix.target }}) name: EOL I (Ⓐ${{ matrix.ansible }}+${{ matrix.docker }}+py${{ matrix.python }}:${{ matrix.target }})
strategy: strategy:
fail-fast: false fail-fast: false