Files
backend/.gitea/workflows/ci.yml
Andriy Oblivantsev 047c6f6055
CI / test (push) Failing after 4s
Run CI tests from mounted workspace instead of checkout.
Remove repository clone logic and validate the runner-provided workspace directly before executing Go and Bun test steps.

Made-with: Cursor
2026-03-01 11:49:44 +00:00

38 lines
673 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Prepare workspace
run: |
ls -la
test -f go.mod
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.25.x"
- name: Go tests
run: go test ./...
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Bun install
working-directory: libs/geo-api-client
run: bun install
- name: Bun tests
working-directory: libs/geo-api-client
run: bun test