forked from AphelionGroup/rport-pairing
-
Notifications
You must be signed in to change notification settings - Fork 12
37 lines (32 loc) · 1.11 KB
/
functional_test_linux.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
name: Functional Test Linux
on: [ push ]
jobs:
test:
name: Functional Test Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Install Dependencies
shell: bash
run: |
set -e
cat /etc/os-release
sudo apt-get update >/dev/null
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y curl jq ncat
curl -LOs "https://github.com/koalaman/shellcheck/releases/download/v0.8.0/shellcheck-v0.8.0.linux.x86_64.tar.xz"
tar xf shellcheck-v0.8.0.linux.x86_64.tar.xz shellcheck-v0.8.0/shellcheck
mv shellcheck-v0.8.0/shellcheck /usr/local/bin/
shellcheck -V
- name: Run pairing service
shell: bash
run: bash .github/scripts/run_pairing_service.sh
- name: Run RPort Server
shell: bash
run: bash .github/scripts/run_rport_server.sh
- name: Functional Linux Test & Shell Script Lint
shell: bash
run: bash .github/scripts/functional_test.sh