Skip to content

Commit 21dcec8

Browse files
Try ubuntu 22.04 and cgroup v2
1 parent a7c315d commit 21dcec8

File tree

1 file changed

+24
-20
lines changed

1 file changed

+24
-20
lines changed

.github/workflows/tests.yml

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@ on:
1414
- cron: '0 6 * * 0'
1515
workflow_dispatch:
1616

17+
env:
18+
MOLECULE_DOCKER_VOLUMES: rw
19+
MOLECULE_DOCKER_CGROUPS_MODE: host
20+
1721
jobs:
1822
repo:
1923
name: Test Repo Runner
2024
environment:
2125
name: test
22-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-22.04
2327
strategy:
2428
max-parallel: 3
2529
fail-fast: false
@@ -52,22 +56,22 @@ jobs:
5256
molecule_command: test
5357
scenario: repo
5458

55-
org:
56-
name: Test Org Runner
57-
environment:
58-
name: test
59-
runs-on: ubuntu-20.04
60-
strategy:
61-
fail-fast: false
62-
steps:
63-
- name: checkout
64-
uses: actions/checkout@v3
65-
with:
66-
path: "${{ github.repository }}"
67-
- name: Molecule for Ansible - GHR Organization
68-
uses: MonolithProjects/action-molecule@v1.5.0
69-
env:
70-
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
71-
with:
72-
molecule_command: test
73-
scenario: org
59+
# org:
60+
# name: Test Org Runner
61+
# environment:
62+
# name: test
63+
# runs-on: ubuntu-20.04
64+
# strategy:
65+
# fail-fast: false
66+
# steps:
67+
# - name: checkout
68+
# uses: actions/checkout@v3
69+
# with:
70+
# path: "${{ github.repository }}"
71+
# - name: Molecule for Ansible - GHR Organization
72+
# uses: MonolithProjects/action-molecule@v1.5.0
73+
# env:
74+
# PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
75+
# with:
76+
# molecule_command: test
77+
# scenario: org

0 commit comments

Comments
 (0)