fix(deps): upgrade starlette to 1.3.1 to fix security advisory #679
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| - cron: '0 2 * * *' | |
| env: | |
| MCP_SERVER_REQUEST_TIMEOUT: 120 | |
| MCP_REQUEST_MAX_TOTAL_TIMEOUT: 300 | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| test-type: [lint, core, interactive, integration, tools] | |
| include: | |
| - os: ubuntu-22.04 | |
| test-type: core | |
| - os: ubuntu-24.04 | |
| test-type: core | |
| - os: macos-14 | |
| test-type: core | |
| - os: macos-14 | |
| test-type: host-pty | |
| pytest-args: -x | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 | |
| - run: make sync | |
| - name: Run lint | |
| if: matrix.test-type == 'lint' | |
| run: make check | |
| - name: Run core tests | |
| if: matrix.test-type == 'core' | |
| run: make test | |
| - name: Run interactive tests | |
| if: matrix.test-type == 'interactive' | |
| run: make test-interactive | |
| - name: Run integration tests | |
| if: matrix.test-type == 'integration' | |
| run: make test-integration | |
| - name: Run tools tests | |
| if: matrix.test-type == 'tools' | |
| run: make test-tools | |
| - name: Run host-PTY integration tests | |
| if: matrix.test-type == 'host-pty' | |
| run: uv run pytest tests/integration ${{ matrix.pytest-args || '' }} | |
| nightly: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 45 | |
| if: github.event_name == 'schedule' || github.event_name == 'pull_request' | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 | |
| - run: make sync | |
| - run: make test-performance | |
| coverage: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| needs: test | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6 | |
| - run: make sync | |
| - run: make test-coverage | |
| - uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4 | |
| with: | |
| file: ./coverage.xml | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Upload test results to Codecov | |
| if: ${{ !cancelled() }} | |
| uses: codecov/test-results-action@0fa95f0e1eeaafde2c782583b36b28ad0d8c77d3 # v1 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |