Add CI with some tests
All checks were successful
/ go-test (push) Successful in 10m0s

This commit is contained in:
Melora Hugues 2024-12-03 13:12:43 +01:00
parent 3deeb6b159
commit 47b5ae14af
Signed by: faercol
SSH key fingerprint: SHA256:lzUKsKDIw1w0bcLnoBu84oYJOnLmi7SeKetszpyDCFY
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,19 @@
on:
push:
branches:
- "**"
jobs:
go-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: Run unit tests
run: make test
- name: Build server
run: make server
- name: Build client
run: make client

View file

@ -10,3 +10,6 @@ client:
server:
go build -o ./build/server ./cmd/server
test:
go test -v ./...