-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 928 Bytes
/
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
name: Tests
on:
push:
pull_request:
jobs:
# go tests
gotest:
name: Test Backend
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Checkout Repo
uses: actions/checkout@v2
with:
submodules: true
token: ${{ secrets.SSH_TOKEN }}
- name: Install dependencies
run: make install-dependencies
- name: Build Protos
run: make build-protos
- name: Test
run: |
go test -race ./...
# TODO: include protobuf installation and compilation steps here, once we actually start
# writing tests that need to run on the frontend.
Jest:
name: Test Frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run Tests
run: |
cd houston
npm install
npm test