Skip to content

Commit

Permalink
Add fixed version of Ubuntu (#470) (#472)
Browse files Browse the repository at this point in the history
This is because ubuntu-latest link to ubuntu-22.04 which includes
cgroup-v2. I thinks our tests fails because of that. See
ansible-collections/news-for-maintainers#28
for more information.

(cherry picked from commit 4dac663)

Co-authored-by: Laurent Indermühle <[email protected]>
  • Loading branch information
patchback[bot] and laurent-indermuehle committed Dec 7, 2022
1 parent 8949c68 commit 2b6adcd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ansible-test-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
jobs:
sanity:
name: "Sanity (Ansible: ${{ matrix.ansible }})"
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
matrix:
ansible:
Expand All @@ -39,7 +39,7 @@ jobs:

integration:
name: "Integration (Python: ${{ matrix.python }}, Ansible: ${{ matrix.ansible }}, MySQL: ${{ matrix.db_engine_version }}, Connector: ${{ matrix.connector }})"
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
testing-type: integration
units:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Units (Ⓐ${{ matrix.ansible }})
strategy:
# As soon as the first unit test fails,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ansible-test-roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
molecule:
name: "Molecule (Python: ${{ matrix.python }}, Ansible: ${{ matrix.ansible }}, MySQL: ${{ matrix.mysql }})"
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
PY_COLORS: 1
ANSIBLE_FORCE_COLOR: 1
Expand Down

0 comments on commit 2b6adcd

Please sign in to comment.