Skip to content

Commit 1527a86

Browse files
committed
Add GDS integration test workflow
1 parent 0107867 commit 1527a86

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Run GDS integration tests
2+
3+
# Controls when the workflow will run
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the "main" branch
6+
push:
7+
branches: [ "main" ]
8+
pull_request:
9+
branches: [ "main" ]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
tests:
17+
# The type of runner that the job will run on
18+
runs-on: ${{ matrix.os}}
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
os: [ubuntu-latest]
23+
defaults:
24+
run:
25+
working-directory: python-wrapper
26+
27+
# Steps represent a sequence of tasks that will be executed as part of the job
28+
steps:
29+
- uses: actions/checkout@v4
30+
31+
- uses: actions/setup-python@v5
32+
with:
33+
python-version: "3.12"
34+
cache: 'pip'
35+
cache-dependency-path: pyproject.toml
36+
- run: pip install ".[dev]"
37+
- run: pip install ".[pandas]"
38+
- run: pip install ".[gds]"
39+
40+
- name: Run tests
41+
env:
42+
AURA_API_CLIENT_ID: 4V1HYCYEeoU4dSxThKnBeLvE2U4hSphx
43+
AURA_API_CLIENT_SECRET: ${{ secrets.AURA_API_CLIENT_SECRET }}
44+
AURA_API_TENANT_ID: eee7ec28-6b1a-5286-8e3a-3362cc1c4c78
45+
run: pytest tests/ --include-neo4j-and-gds -Werror

0 commit comments

Comments
 (0)