Skip to content

mcp-neo4j-cypher clean up #8

mcp-neo4j-cypher clean up

mcp-neo4j-cypher clean up #8

name: MCP Neo4j Cypher Tests
on:
push:
branches: [ main, master ]
paths:
- 'servers/mcp-neo4j-cypher/**'
pull_request:
branches: [ main, master ]
paths:
- 'servers/mcp-neo4j-cypher/**'
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/mcp-neo4j-cypher
uv venv
uv pip install -e ".[dev]"
- name: Check format and linting
run: |
cd servers/mcp-neo4j-cypher
uv run ruff check --select I . --fix
uv run ruff check --fix .
uv run ruff format .
- name: Run tests
run: |
cd servers/mcp-neo4j-cypher
./test.sh