Skip to content

Commit 897600c

Browse files
committed
Separate runtime testing workflow
1 parent 63afde3 commit 897600c

File tree

3 files changed

+43
-27
lines changed

3 files changed

+43
-27
lines changed

.github/workflows/docker-test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Docker Test
2+
3+
on:
4+
push:
5+
branches: [ main, develop ]
6+
pull_request:
7+
branches: [ main, develop ]
8+
9+
jobs:
10+
docker-test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
runtime:
15+
- alpine
16+
- archlinux
17+
- centos
18+
steps:
19+
- name: checkout
20+
uses: actions/checkout@v2
21+
- name: ${{ matrix.runtime }}
22+
shell: 'script -q -e -c "bash {0}"'
23+
run: bash ./test/run --build --run ${{ matrix.runtime }}

.github/workflows/go.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -43,30 +43,3 @@ jobs:
4343
with:
4444
file: ./coverage
4545
verbose: true
46-
47-
docker-test:
48-
runs-on: ubuntu-latest
49-
strategy:
50-
matrix:
51-
runtime:
52-
- alpine
53-
- archlinux
54-
- centos
55-
steps:
56-
- name: checkout
57-
uses: actions/checkout@v2
58-
- name: ${{ matrix.runtime }}
59-
shell: 'script -q -e -c "bash {0}"'
60-
run: bash ./test/run --build --run ${{ matrix.runtime }}
61-
62-
vagrant-test:
63-
runs-on: macos-10.15
64-
strategy:
65-
matrix:
66-
runtime:
67-
- freebsd
68-
steps:
69-
- name: checkout
70-
uses: actions/checkout@v2
71-
- name: ${{ matrix.runtime }}
72-
run: bash ./test/run --build --run ${{ matrix.runtime }}

.github/workflows/vagrant-test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Vagrant Test
2+
3+
on:
4+
push:
5+
branches: [ main, develop ]
6+
pull_request:
7+
branches: [ main, develop ]
8+
9+
jobs:
10+
vagrant-test:
11+
runs-on: macos-10.15
12+
strategy:
13+
matrix:
14+
runtime:
15+
- freebsd
16+
steps:
17+
- name: checkout
18+
uses: actions/checkout@v2
19+
- name: ${{ matrix.runtime }}
20+
run: bash ./test/run --build --run ${{ matrix.runtime }}

0 commit comments

Comments
 (0)