Files
overlord/.gitea/workflows/client-tests.yml
T
KingKDot 2f0dc6a893
Client tests / test (push) In progress
Server tests / browser (push) In progress
Server tests / unit (push) Failing after 12m50s
get gitea ready
2026-08-24 10:06:19 -05:00

49 lines
1.1 KiB
YAML

name: Client tests
on:
push:
paths:
- "Overlord-Client/**"
- "protocol/**"
- "scripts/generate-wire-protocol.ts"
- "go.work"
- "go.work.sum"
- ".gitea/workflows/client-tests.yml"
pull_request:
paths:
- "Overlord-Client/**"
- "protocol/**"
- "scripts/generate-wire-protocol.ts"
- "go.work"
- "go.work.sum"
- ".gitea/workflows/client-tests.yml"
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: Overlord-Client
steps:
- name: Checkout repository
uses: https://github.com/actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Set up Go
uses: https://github.com/actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version-file: Overlord-Client/go.mod
cache: true
cache-dependency-path: |
Overlord-Client/go.sum
go.work.sum
- name: Download modules
run: go mod download
- name: Run tests
run: go test ./...