-
Notifications
You must be signed in to change notification settings - Fork 58
55 lines (49 loc) · 1.23 KB
/
Copy pathmain.yml
File metadata and controls
55 lines (49 loc) · 1.23 KB
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
55
name: CI
on: [push, pull_request]
jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/checkout@v4
- name: Run Shellcheck
uses: ludeeus/action-shellcheck@2.0.0
test-ubuntu:
name: test (ubuntu)
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/checkout@v4
- name: Setup Bats and bats libs
id: setup-bats
uses: bats-core/bats-action@3.0.0
- name: Run Unit Tests
run: make unit-test
shell: bash
- name: Run Integration Tests
run: make intg-test
shell: bash
test-macos:
name: test (macos)
runs-on: macos-latest
steps:
- name: Clone Repo
uses: actions/checkout@v4
- name: Install bats-core
run: brew install bats-core
- name: Run Unit Tests
run: make unit-test
shell: bash
- name: Run Integration Tests
run: make intg-test
shell: bash
# intg-test:
# name: intg-test
# runs-on: ubuntu-latest
# steps:
# - name: Clone Repo
# uses: actions/checkout@v4
# - name: Run Integration Tests in Docker
# run: make docker-test
# shell: bash