Merge pull request #99 from patvice/rpc-message-refactor #184
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: CICD | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Ruby Tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby: ['3.1', '3.2', '3.3', '3.4'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.2.16 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Install Ruby dependencies | |
| run: | | |
| bundle install | |
| - name: Install Bun dependencies for test fixtures | |
| run: | | |
| cd spec/fixtures/typescript-mcp && bun install | |
| cd ../../.. | |
| cd spec/fixtures/pagination-server && bun install | |
| - name: Run specs | |
| run: bundle exec rake | |
| env: | |
| CI: "true" | |
| GITHUB_ACTIONS: "true" |