mcp-neo4j-cypher clean up #9
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: 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 |