-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (38 loc) · 1012 Bytes
/
main-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
---
name: Main Tests
on:
push:
branches: [main]
jobs:
server-test:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: "1.21"
- name: Install libgstreamer1.0-dev
run: |
sudo apt-get install -y libunwind-dev
sudo apt-get install -y --no-install-recommends libgstreamer1.0-dev
- name: Run Tests
run: go test -v -count 2 -race ./...
client-build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Install Packages
run: cd client && yarn install --frozen-lockfile
- name: Build Client
run: cd client && yarn build
- name: Check for Prettier Style
run: cd client && yarn prettier --check src
- name: Check for ESLint Violations
run: cd client && yarn eslint .