Switch CI from ubuntu-latest to ubuntu-20.04 to avoid problems with ansible-test from ansible-core 2.12, 2.13, 2.14. (#519)

This commit is contained in:
Felix Fontein 2022-12-01 23:02:19 +01:00 committed by GitHub
parent 2957138153
commit 549de87ab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ jobs:
matrix: matrix:
ansible: ansible:
- '2.11' - '2.11'
runs-on: ubuntu-latest runs-on: ubuntu-20.04
steps: steps:
- name: Perform sanity testing - name: Perform sanity testing
uses: felixfontein/ansible-test-gh-action@integration-error-behavior uses: felixfontein/ansible-test-gh-action@integration-error-behavior
@ -36,7 +36,7 @@ jobs:
testing-type: sanity testing-type: sanity
units: units:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
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
@ -57,7 +57,7 @@ jobs:
testing-type: units testing-type: units
integration: integration:
runs-on: ubuntu-latest runs-on: ubuntu-20.04
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