-
Notifications
You must be signed in to change notification settings - Fork 5
50 lines (47 loc) · 1.32 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
---
# yamllint disable rule:line-length
name: tests yasat
on: # yamllint disable-line rule:truthy
push:
pull_request:
jobs:
test-ubuntu:
runs-on: ubuntu-latest
name: test on ubuntu
steps:
- uses: actions/checkout@v4
- name: update pkglist
run: sudo apt-get update
- name: Run yasat
run: |
./yasat
./yasat -1 ntp
ls -l /home/runner/.yasat//yasat.report
test-bashishms:
runs-on: ubuntu-latest
name: Check bashisms
steps:
- uses: actions/checkout@v4
- name: update pkglist
run: sudo apt-get update
- name: install checkbashisms
run: sudo apt-get -y install devscripts
- name: Run checkbashisms
run: checkbashisms yasat common scripts/*test
ubuntu-pkg:
runs-on: ubuntu-latest
name: build ubuntu package
steps:
- uses: actions/checkout@v4
- name: update pkglist
run: sudo apt-get update
- name: Install packages
run: sudo apt-get -y install devscripts gnupg debhelper-compat
- name: create orig targz
run: cd .. && tar czf yasqt_0-1.orig.tar.gz yasat
- name: Run ls
run: ls -l
- name: Run debuild
run: debuild -i -us -uc -b --lintian-opts --profile debian
- name: Run debuild help
run: debuild --help