Skip to content

Commit ac9f77b

Browse files
Edit actions workflow
1 parent a9ae993 commit ac9f77b

File tree

2 files changed

+29
-5
lines changed

2 files changed

+29
-5
lines changed

.github/workflows/galaxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
release:
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-20.04
1212
steps:
1313
- name: galaxy
1414
uses: robertdebock/[email protected]

.github/workflows/main.yml

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,34 @@ name: molecule test
33
on:
44
pull_request:
55
branches:
6-
- master
6+
- main
77
types: [opened, synchronize, reopened]
88
schedule:
99
- cron: '0 6 * * 0'
1010
jobs:
1111
repo:
1212
name: Test Repo Runner
13-
runs-on: ubuntu-18.04
13+
runs-on: ubuntu-20.04
1414
strategy:
1515
fail-fast: true
16+
matrix:
17+
config:
18+
- os: "centos7"
19+
tag: "latest"
20+
- os: "centos8"
21+
tag: "latest"
22+
- os: "debian9"
23+
tag: "latest"
24+
- os: "debian10"
25+
tag: "latest"
26+
- os: "fedora33"
27+
tag: "latest"
28+
- os: "ubuntu16"
29+
tag: "latest"
30+
- os: "ubuntu18"
31+
tag: "latest"
32+
- os: "ubuntu20"
33+
tag: "latest"
1634
steps:
1735
- name: checkout
1836
uses: actions/checkout@v2
@@ -23,10 +41,14 @@ jobs:
2341
env:
2442
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
2543
with:
44+
os: ${{ matrix.config.os }}
45+
tag: ${{ matrix.config.tag }}
2646
molecule_command: test
47+
scenario: repo
48+
2749
org:
2850
name: Test Org Runner
29-
runs-on: ubuntu-18.04
51+
runs-on: ubuntu-20.04
3052
strategy:
3153
fail-fast: true
3254
steps:
@@ -39,5 +61,7 @@ jobs:
3961
env:
4062
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
4163
with:
64+
os: ${{ matrix.config.os }}
65+
tag: ${{ matrix.config.tag }}
4266
molecule_command: test
43-
scenario: organization
67+
scenario: org

0 commit comments

Comments
 (0)