Files
discord-go-bot/.gitea/workflows/test.yaml
Jannis Heydemann 120b713fb4
Some checks failed
Bot Unit Tests / run-tests (push) Failing after 7s
added tests
2026-04-01 20:18:30 +02:00

24 lines
546 B
YAML

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