Skip to content

Add mcp integration primitives (#52) #228

Add mcp integration primitives (#52)

Add mcp integration primitives (#52) #228

Workflow file for this run

name: CI
permissions:
contents: read
on:
push:
branches:
- develop
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Display OS Information
run: |
echo "Running on: ${{ matrix.os }}"
echo "Runner OS: ${{ runner.os }}"
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
cache: true
cache-dependency-path: Directory.Packages.props
- name: Restore dependencies
run: dotnet restore ProjGraph.slnx
- name: Build
run: dotnet build ProjGraph.slnx --no-restore --configuration Release
- name: Check formatting
run: dotnet format ProjGraph.slnx --no-restore --verify-no-changes
- name: Test
run: dotnet test ProjGraph.slnx --no-build --configuration Release --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage
- name: Upload coverage reports
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
with:
name: coverage-reports
path: ./coverage/**/coverage.cobertura.xml
retention-days: 14