Files
mailcow-birthday-daemon/.gitea/workflows/test.yaml
Patrick Asmus (scriptos) f0ba2ad36f
All checks were successful
Build Test Docker Image / docker-test (pull_request) Successful in 1m55s
Run Tests / test (pull_request) Successful in 5m6s
Edited Workflows
2026-03-28 16:00:42 +01:00

40 lines
728 B
YAML

name: Run Tests
on:
pull_request:
paths-ignore:
- 'docs/**'
- 'assets/img/**'
- 'README.md'
- 'LICENSE.md'
push:
branches: [master]
paths-ignore:
- 'docs/**'
- 'assets/img/**'
- 'README.md'
- 'LICENSE.md'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
- name: Setup Python
uses: actions/setup-python@v3
- name: Run Pre-Commit
uses: pre-commit/action@v3.0.1
- name: Run Go Tests
run: go test ./...