[Snyk] Security upgrade python from 3.12-slim to 3.13.8-slim #80
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 Data Modeling Tests | |
on: | |
push: | |
branches: [ main, master ] | |
paths: | |
- 'servers/mcp-neo4j-data-modeling/**' | |
pull_request: | |
branches: [ main, master ] | |
paths: | |
- 'servers/mcp-neo4j-data-modeling/**' | |
workflow_dispatch: # Allows manual triggering of the workflow | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10', '3.11', '3.12', '3.13'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- 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-data-modeling | |
uv venv | |
uv pip install -e ".[dev]" | |
- name: Check format and linting | |
run: | | |
cd servers/mcp-neo4j-data-modeling | |
make format | |
- name: Run tests | |
run: | | |
cd servers/mcp-neo4j-data-modeling | |
make test |