-
Notifications
You must be signed in to change notification settings - Fork 49
54 lines (43 loc) · 1.18 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: CI
on: [push, pull_request]
jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/checkout@v3
- name: Run Shellcheck
uses: ludeeus/[email protected]
test:
name: test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container:
- debian # uses debian:buster-20200327-slim which is debian 10.3
- ubuntu16 # uses ubuntu:xenial-20200212 which is ubuntu 16.04
container: kdabir/has-test-containers:${{ matrix.container }}
steps:
- name: Clone Repo
uses: actions/checkout@v3
- name: test
run: make test
shell: bash
test_all:
name: test_all
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
container:
- ubuntu # uses ubuntu:bionic-20200311 which is ubuntu 18.04
- alpine # uses bash:5.0.16 which is alpine 3.11
container: kdabir/has-test-containers:${{ matrix.container }}
steps:
- name: Clone Repo
uses: actions/checkout@v3
- name: test_all
run: bats -t ./tests/test_all_packages.bats
shell: bash