-
-
Notifications
You must be signed in to change notification settings - Fork 156
45 lines (45 loc) · 1.02 KB
/
tests.yaml
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: CI/CD tests
on:
push:
branches:
- dev/**
workflow_call:
jobs:
sctests:
name: ShellCheck Tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install Pre-requisites
run: |
sudo apt-get update -qq
sudo apt-get install -qq shellcheck
- name: shellcheck
run: |
make shellcheck
codetests:
name: General Tests
runs-on: windows-2019
needs: sctests
steps:
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- uses: actions/checkout@v4
- uses: Vampire/[email protected]
with:
distribution: Debian
update: 'true'
set-as-default: 'true'
additional-packages:
gzip
make
desktop-file-utils
bats
x11-apps
- shell: wsl-bash -u root {0}
run: |
make
make install
make test