Skip to content

Commit

Permalink
Switch CI from ubuntu-latest to ubuntu-20.04 to avoid problems with a…
Browse files Browse the repository at this point in the history
…nsible-test from ansible-core 2.12, 2.13, 2.14. (#138)

(cherry picked from commit 338a8f2)
  • Loading branch information
felixfontein committed Dec 1, 2022
1 parent d9a01bf commit 500cafc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ansible-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- stable-2.10
- stable-2.11
- stable-2.12
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:

# ansible-test requires the collection to be in a directory in the form
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
# https://docs.ansible.com/ansible/latest/dev_guide/testing_units.html

units:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Units (Ⓐ${{ matrix.ansible }})
strategy:
# As soon as the first unit test fails, cancel the others to free up the CI queue
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
# https://github.com/ansible-collections/community.zabbix/tree/master/.github/workflows

# integration:
# runs-on: ubuntu-latest
# runs-on: ubuntu-20.04
# name: I (Ⓐ${{ matrix.ansible }}+py${{ matrix.python }}})
# strategy:
# fail-fast: false
Expand Down

0 comments on commit 500cafc

Please sign in to comment.