Skip to content

Refine gateway runtime and simplify tokenizer search #7

Refine gateway runtime and simplify tokenizer search

Refine gateway runtime and simplify tokenizer search #7

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
env:
DOTNET_VERSION: '10.0.x'
permissions:
contents: read
jobs:
build-test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Restore
run: dotnet restore ManagedCode.MCPGateway.slnx
- name: Build
run: dotnet build ManagedCode.MCPGateway.slnx --configuration Release --no-restore
- name: Test
run: dotnet test --solution ManagedCode.MCPGateway.slnx --configuration Release --no-build --verbosity normal --report-trx --results-directory ./artifacts/test-results
- name: Upload test artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: ./artifacts/test-results/**
retention-days: 5