summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rwxr-xr-x.github/prepare_debian.sh4
-rw-r--r--.github/workflows/test.yml38
2 files changed, 3 insertions, 39 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index a74f346..c68b9f5 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -69,12 +69,8 @@ ssh-keyscan localhost >> ~/.ssh/known_hosts
69touch ~/.ssh/config 69touch ~/.ssh/config
70 70
71# start one login session, required for check_users 71# start one login session, required for check_users
72#( ssh -n -tt root@localhost "top" < /dev/null >/dev/null 2>&1 & )
73ssh -tt localhost </dev/null >/dev/null 2>/dev/null & 72ssh -tt localhost </dev/null >/dev/null 2>/dev/null &
74disown %1 73disown %1
75#sleep 1
76#who
77#ssh root@localhost "top -b -n 1"
78 74
79# snmpd 75# snmpd
80for DIR in /usr/share/snmp/mibs /usr/share/mibs; do 76for DIR in /usr/share/snmp/mibs /usr/share/mibs; do
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 3e46795..512d28e 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -8,29 +8,7 @@ on:
8 8
9jobs: 9jobs:
10# macos: 10# macos:
11# name: Running tests on ${{ matrix.os }} 11# ...
12# strategy:
13# fail-fast: false
14# matrix:
15# os:
16# - macos-10.15
17# runs-on: ${{ matrix.os }}
18# steps:
19#
20# - name: Git clone repository
21# uses: actions/checkout@v2
22# #- name: Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate
23# # uses: mxschmitt/action-tmate@v3
24# - name: Prepare machine
25# run: |
26# brew install automake
27# - name: Run the tests
28# run: |
29# tools/setup \
30# && ./configure --enable-libtap \
31# && make \
32# && make test
33
34 linux: 12 linux:
35 runs-on: ubuntu-latest 13 runs-on: ubuntu-latest
36 name: Running tests on ${{ matrix.distro }} 14 name: Running tests on ${{ matrix.distro }}
@@ -38,22 +16,12 @@ jobs:
38 fail-fast: false 16 fail-fast: false
39 matrix: 17 matrix:
40 distro: 18 distro:
41 #- 'debian:10'
42 - 'debian:testing' 19 - 'debian:testing'
43 #- 'ubuntu:20.10' 20 #...
44 #- 'centos:7'
45 #- 'centos:8'
46 include: 21 include:
47 #- distro: 'debian:10'
48 # prepare: .github/prepare_debian.sh
49 - distro: 'debian:testing' 22 - distro: 'debian:testing'
50 prepare: .github/prepare_debian.sh 23 prepare: .github/prepare_debian.sh
51 #- distro: 'ubuntu:20.10' 24 #...
52 # prepare: .github/prepare_debian.sh
53 #- distro: 'centos:7'
54 # prepare: .github/prepare_centos.sh
55 #- distro: 'centos:8'
56 # prepare: .github/prepare_centos.sh
57 steps: 25 steps:
58 - name: Git clone repository 26 - name: Git clone repository
59 uses: actions/checkout@v2 27 uses: actions/checkout@v2