Files
robocar-simulator/.gitea/workflows/ci.yaml
T
cyrilixandClaude Opus 5.5 048ca500a8
ci / ci (push) Successful in 6m30s
ci: run Gitea tests one package at a time
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 16:59:02 +02:00

37 lines
1.1 KiB
YAML

# Gitea Actions CI (banquise runner, Kubernetes backend). Gitea reads .gitea/workflows first
# and then ignores .github/workflows, which keeps serving GitHub (Docker Hub image builds via
# the push mirror). Image builds are NOT duplicated here.
name: ci
on:
push:
pull_request:
permissions:
contents: read
env:
CGO_ENABLED: "0"
GOFLAGS: -mod=vendor
jobs:
ci:
runs-on: banquise-amd64
steps:
- uses: builtin:checkout
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache: false # vendor/ is committed, nothing to download
- name: build
run: go build -o /tmp/rc-simulator ./cmd/rc-simulator/
# vet and test have pre-existing failures (2026-10-10): informative until fixed,
# then drop continue-on-error to make them blocking.
- name: vet
continue-on-error: true
run: go vet ./...
- name: test
continue-on-error: true
# -p 1: one package at a time, lower peak disk/memory on small CI pods
run: go test -p 1 -timeout 5m ./...