-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (34 loc) · 1.11 KB
/
test.yml
File metadata and controls
45 lines (34 loc) · 1.11 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
name: Test Scripts
on:
push:
branches: [main]
paths: ['scripts/**', 'tests/**', '.github/workflows/test.yml']
pull_request:
paths: ['scripts/**', 'tests/**', '.github/workflows/test.yml']
jobs:
shellcheck:
name: ShellCheck Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck on all scripts
run: find scripts/ -name '*.sh' -exec shellcheck -s bash {} +
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test prepare-env
run: bash tests/test-prepare-env.sh
- name: Test parse-broadcast
run: bash tests/test-parse-broadcast.sh
- name: Test resolve-network
run: bash tests/test-resolve-network.sh
- name: Test deployment-summary
run: bash tests/test-deployment-summary.sh
- name: Test deployment-comment
run: bash tests/test-deployment-comment.sh
- name: Test extract-summary
run: bash tests/test-extract-summary.sh
- name: Test check-threshold
run: bash tests/test-check-threshold.sh