-
-
Notifications
You must be signed in to change notification settings - Fork 46
38 lines (34 loc) · 866 Bytes
/
tests.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
name: Tests
on: [push, pull_request, workflow_dispatch]
jobs:
shellcheck:
name: Test code with ShellCheck
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
bats:
name: Test code with Bats
runs-on: ubuntu-20.04
container: bats/bats:latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Run Bats
run: |
bats --version
bats -r .
doxygen:
name: Test documentation
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Build Doxygen documentation
uses: mattnotmitt/doxygen-action@v1
with:
working-directory: ./doc