Skip to content

fix(api): improve error message for file not found in GetAgentSkillFi… #99

fix(api): improve error message for file not found in GetAgentSkillFi…

fix(api): improve error message for file not found in GetAgentSkillFi… #99

Workflow file for this run

name: Go Admin API Test
on:
push:
branches:
- dev
paths:
- 'src/server/api/go/**'
- '.github/workflows/admin-test.yaml'
pull_request:
branches:
- dev
paths:
- 'src/server/api/go/**'
- '.github/workflows/admin-test.yaml'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
defaults:
run:
working-directory: src/server/api/go
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417
with:
go-version-file: src/server/api/go/go.mod
cache: true
cache-dependency-path: src/server/api/go/go.sum
- 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@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
with:
name: go-admin-coverage
path: src/server/api/go/coverage.out
retention-days: 30