Add mcp integration primitives (#52) #228
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |