Skip to content

fix: return 404 in artifact creation on non existing model version (#… #9

fix: return 404 in artifact creation on non existing model version (#…

fix: return 404 in artifact creation on non existing model version (#… #9

name: Test Controller
on:
push:
branches:
- "main"
paths-ignore:
- "LICENSE*"
- "**.gitignore"
- "**.md"
- "**.txt"
- ".github/ISSUE_TEMPLATE/**"
- ".github/dependabot.yml"
- "docs/**"
pull_request:
paths:
- "cmd/controller/**"
- ".github/workflows/**"
- "internal/controller/**"
- "internal/server/openapi/api_model_registry_service*"
- "pkg/openapi/**"
- "go.mod"
permissions: # set contents: read at top-level, per OpenSSF ScoreCard rule TokenPermissionsID
contents: read
env:
BRANCH: ${{ github.base_ref }}
jobs:
test:
name: Run on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/[email protected]
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: '1.24'
- name: Running Tests
run: |
go mod tidy
make controller/test