Skip to content

feat(api, sdk, docs): introduce 'thinking' type handling in converter… #463

feat(api, sdk, docs): introduce 'thinking' type handling in converter…

feat(api, sdk, docs): introduce 'thinking' type handling in converter… #463

Workflow file for this run

name: Go API Test
on:
push:
branches:
- main
- dev
paths:
- 'src/server/api/go/**'
- '.github/workflows/api-test.yaml'
pull_request:
branches:
- main
- dev
paths:
- 'src/server/api/go/**'
- '.github/workflows/api-test.yaml'
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/server/api/go
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: src/server/api/go/go.mod
cache: true
- run: go mod tidy
- name: Run tests with coverage
run: go test -v -timeout 30m -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage artifact
if: always()
uses: actions/upload-artifact@v6
with:
name: go-api-coverage
path: src/server/api/go/coverage.out