Files
http-server/.gitea/workflows/test.yaml
Tilo K 93b1dfef79
Some checks failed
Test / test (push) Failing after 8s
wip
2026-02-15 20:38:14 +01:00

23 lines
527 B
YAML

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: x86_64
steps:
- uses: https://gitea.com/actions/checkout@v4
- name: Install Go
run: |
GO_VERSION=$(grep '^go ' go.mod | awk '{print $2}')
curl -fsSL "https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz" | sudo tar -C /usr/local -xz
echo "/usr/local/go/bin" >> $GITHUB_PATH
- name: Run tests
run: go test -v -race -coverprofile=coverage.out ./...