Added unit tests

This commit is contained in:
2025-06-20 09:47:04 +02:00
parent 0f487e3f93
commit a987c0fb34
5 changed files with 182 additions and 1 deletions

19
.github/workflows/tests.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Tests
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go stable
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: "Running unit tests"
run: go test ./... -v