|
1 | 1 | ---
|
2 |
| -image: "robertdebock/github-action-molecule:6.0.1" |
3 | 2 |
|
4 | 3 | variables:
|
5 |
| - PY_COLORS: 1 |
| 4 | + DEBIAN_FRONTEND: noninteractive |
6 | 5 |
|
7 | 6 | molecule:
|
| 7 | + image: $python |
8 | 8 | script:
|
| 9 | + - apt-get update -qq |
| 10 | + - apt-get -y -qq install yamllint docker.io |
| 11 | + - pip install --no-cache-dir tox |
9 | 12 | - if [ -f tox.ini ] ; then tox ; fi
|
10 |
| - - if [ ! -f tox.ini ] ; then molecule test ; fi |
| 13 | + - if [ ! -f tox.ini ] ; then pip install -r requirements.yml ; pip install ansible-lint ansible-core ; molecule test ; fi |
11 | 14 | rules:
|
12 | 15 | - if: $CI_COMMIT_REF_NAME == "master"
|
13 | 16 | parallel:
|
14 | 17 | matrix:
|
15 | 18 | - image: "alpine"
|
16 | 19 | tag: "latest"
|
| 20 | + python: ['python:3.9', 'python:3.10'] |
17 | 21 | - image: "amazonlinux"
|
18 | 22 | tag: "latest"
|
19 |
| - - image: "enterpriselinux" |
20 |
| - tag: "8" |
| 23 | + python: ['python:3.9', 'python:3.10'] |
21 | 24 | - image: "enterpriselinux"
|
22 | 25 | tag: "latest"
|
| 26 | + python: ['python:3.9', 'python:3.10'] |
23 | 27 | - image: "debian"
|
24 | 28 | tag: "latest"
|
| 29 | + python: ['python:3.9', 'python:3.10'] |
25 | 30 | - image: "debian"
|
26 | 31 | tag: "bullseye"
|
| 32 | + python: ['python:3.9', 'python:3.10'] |
27 | 33 | - image: "fedora"
|
28 | 34 | tag: "39"
|
| 35 | + python: ['python:3.9', 'python:3.10'] |
29 | 36 | - image: "fedora"
|
30 | 37 | tag: "latest"
|
| 38 | + python: ['python:3.9', 'python:3.10'] |
31 | 39 | - image: "fedora"
|
32 | 40 | tag: "rawhide"
|
33 |
| - - image: "opensuse" |
34 |
| - tag: "latest" |
| 41 | + python: ['python:3.9', 'python:3.10'] |
35 | 42 | - image: "ubuntu"
|
36 | 43 | tag: "latest"
|
| 44 | + python: ['python:3.9', 'python:3.10'] |
37 | 45 | - image: "ubuntu"
|
38 | 46 | tag: "jammy"
|
| 47 | + python: ['python:3.9', 'python:3.10'] |
39 | 48 | - image: "ubuntu"
|
40 | 49 | tag: "focal"
|
| 50 | + python: ['python:3.9', 'python:3.10'] |
41 | 51 |
|
42 | 52 | galaxy:
|
43 | 53 | script:
|
|
0 commit comments