added tests
Some checks failed
Bot Unit Tests / run-tests (push) Failing after 7s

This commit is contained in:
2026-04-01 20:18:30 +02:00
parent 6f3e5e3d2b
commit 120b713fb4

View File

@@ -0,0 +1,24 @@
name: Bot Unit Tests
on:
push:
branches: [ "main", "master", "dev" ]
pull_request:
branches: [ "main", "master" ]
jobs:
run-tests:
# This MUST match the label you defined in your Docker Stack
runs-on: go-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: go mod tidy
- name: Run Go Tests
# -v gives us verbose output so we see exactly what fails
# ./... runs tests in main and db_management
run: go test ./... -v