Skip to content

Add common dir

Add common dir #2

Workflow file for this run

name: MCP Common Tests
on:
push:
branches: [ main, master ]
paths:
- 'servers/common/**'
pull_request:
branches: [ main, master ]
paths:
- 'servers/common/**'
workflow_dispatch: # Allows manual triggering of the workflow
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install UV
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
cd servers/common
uv venv
uv pip install -e ".[dev]"
- name: Check format and linting
run: |
cd servers/common
./format.sh
- name: Run tests
run: |
cd servers/common
./test.sh