Repository navigation
Make message builder setters replace parts in place #2935
Workflow file for this run
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: MCP Integration Tests | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - 'main' | |
| - '[0-9].[0-9].x' | |
| workflow_dispatch: | |
| inputs: | |
| runner: | |
| description: 'Runner label to use (e.g. UBUNTU_SMALL, ubuntu-latest). Leave empty to use the default.' | |
| required: false | |
| default: '' | |
| type: string | |
| jobs: | |
| mcp-it: | |
| name: MCP integration tests | |
| runs-on: ${{ inputs.runner != '' && inputs.runner || (vars.COMMERCIAL && vars.UBUNTU_SMALL || 'ubuntu-latest') }} | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'liberica' | |
| cache: 'maven' | |
| - name: Setup Maven Build-Cache (~/.m2/build-cache) | |
| if: ${{ false }} # Disable until test flakiness has been resolved | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/build-cache | |
| # See pr-check.yml for an explanation of the key format | |
| key: build-cache-${{ runner.os }}-mcp-${{ hashFiles('**/pom.xml') }}-${{ github.run_id }} | |
| restore-keys: | | |
| build-cache-${{ runner.os }}-mcp-${{ hashFiles('**/pom.xml') }}- | |
| build-cache-${{ runner.os }}- | |
| - name: Build with Maven and run integration tests | |
| run: | | |
| ./mvnw --batch-mode -ntp verify -Pintegration-tests -am -pl "mcp/transport/mcp-spring-webflux,mcp/transport/mcp-spring-webmvc" |