Skip to content

Commit 6571643

Browse files
authored
add / update PR and publish github actions (#36)
1 parent 23f68c5 commit 6571643

File tree

5 files changed

+93
-3
lines changed

5 files changed

+93
-3
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: MCP Neo4j Cloud Aura API Tests
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
paths:
7+
- 'servers/mcp-neo4j-cloud-aura-api/**'
8+
pull_request:
9+
branches: [ main, master ]
10+
paths:
11+
- 'servers/mcp-neo4j-cloud-aura-api/**'
12+
workflow_dispatch: # Allows manual triggering of the workflow
13+
14+
jobs:
15+
test:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- name: Set up Python 3.12
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: '3.12'
25+
26+
- name: Install UV
27+
run: |
28+
curl -LsSf https://astral.sh/uv/install.sh | sh
29+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
30+
31+
- name: Install dependencies
32+
run: |
33+
cd servers/mcp-neo4j-cloud-aura-api
34+
uv venv
35+
uv pip install -e ".[dev]"
36+
37+
- name: Run tests
38+
run: |
39+
cd servers/mcp-neo4j-cloud-aura-api
40+
./test.sh
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: MCP Neo4j Memory Tests
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
paths:
7+
- 'servers/mcp-neo4j-memory/**'
8+
pull_request:
9+
branches: [ main, master ]
10+
paths:
11+
- 'servers/mcp-neo4j-memory/**'
12+
workflow_dispatch: # Allows manual triggering of the workflow
13+
14+
jobs:
15+
test:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- name: Set up Python 3.12
22+
uses: actions/setup-python@v4
23+
with:
24+
python-version: '3.12'
25+
26+
- name: Install UV
27+
run: |
28+
curl -LsSf https://astral.sh/uv/install.sh | sh
29+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
30+
31+
- name: Install dependencies
32+
run: |
33+
cd servers/mcp-neo4j-memory
34+
uv venv
35+
uv pip install -e ".[dev]"
36+
37+
- name: Run tests
38+
run: |
39+
cd servers/mcp-neo4j-memory
40+
./test.sh

.github/workflows/publish-aura-manager.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ name: Publish Neo4j MCP Aura Manager Package
1111
on:
1212
push:
1313
tags:
14-
- mcp-neo4j-aura-manager-v.*
14+
- mcp-neo4j-aura-manager-v*
15+
release:
16+
types: [published]
17+
tags:
18+
- mcp-neo4j-aura-manager-v*
1519

1620
permissions:
1721
contents: read

.github/workflows/publish.yml renamed to .github/workflows/publish-cypher.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
# separate terms of service, privacy policy, and support
77
# documentation.
88

9-
name: Publish Python Package
9+
name: Publish Neo4j MCP Cypher Package
1010

1111
on:
1212
release:
1313
types: [published]
14+
tags:
15+
- mcp-neo4j-cypher-v*
1416

1517
permissions:
1618
contents: read

.github/workflows/publish-memory.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ name: Publish Neo4j MCP Memory Python Package
1111
on:
1212
push:
1313
tags:
14-
- mcp-neo4j-memory-v.*
14+
- mcp-neo4j-memory-v*
15+
release:
16+
types: [published]
17+
tags:
18+
- mcp-neo4j-memory-v*
1519

1620
permissions:
1721
contents: read

0 commit comments

Comments
 (0)