-
Notifications
You must be signed in to change notification settings - Fork 9
56 lines (43 loc) · 1.02 KB
/
test.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
50
51
52
53
54
55
56
# SPDX-FileCopyrightText: 2021 The Secretstream Authors
#
# SPDX-License-Identifier: MIT
name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Node for interop testing
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build smoke test
run: go build -v
- name: Build dev smoke test
run: go build -v -tags dev
- name: install node ssb-stack
run: |
pushd boxstream
npm ci
popd
pushd secrethandshake
npm ci
popd
- name: Test
run: go test ./...
- name: Test against shs1-testsuite
run: cd secrethandshake/tests && make test