Skip to content

[mcp] fix: reject dot-segment route aliases #835

[mcp] fix: reject dot-segment route aliases

[mcp] fix: reject dot-segment route aliases #835

Workflow file for this run

# This workflow installs Python dependencies and runs tests on the supported
# floor plus the latest Python version advertised in package classifiers.
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.13"]
steps:
- uses: actions/checkout@v7
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install "setuptools>=77,<82"
pip install -e .
- name: Test with pytest
run: |
pytest