-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathtox.ini
More file actions
130 lines (111 loc) · 3 KB
/
tox.ini
File metadata and controls
130 lines (111 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[tox]
envlist =
# Vary Pandas versions
py310-neo4j6-pandas{1,2}-main-standard,
# Vary Neo4j versions
py310-neo4j{4,5,6}-pandas2-main-standard,
# Vary Pandas
py310-pandas{1,2}-pyarrow22-main-standard,
# Vary PyArrow
py311-pandas2-pyarrow{19, 20, 21, 22, 23}-main-standard,
# Vary Python version
py3{10, 11, 12, 13, 14}-pandas2-pyarrow22-main-standard,
# encrypted tests
py310-neo4j6-pandas2-pyarrow23-main-encrypted,
# against an AuraDS instance
py311-main-aura,
# Vary networkx & neo4j versions only for relevant tests
py311-neo4j{4,5,6}-pandas2-pyarrow21-networkx{2,3}-main-nx,
# Session tests
py310-neo4j{5}-pyarrow23-main-{cloud-architecture}
# PR envs
py310-neo4j{4,5,6}-pullrequest-{standard,encrypted},
py3{11,12,13,14}-pullrequest-standard,
py310-pullrequest-{cloud-architecture}
py311-networkx3-pullrequest-nx
# Notebooks
jupyter-notebook-ci
jupyter-notebook-session-ci
[testenv]
passenv =
NEO4J_URI
NEO4J_USER
NEO4J_PASSWORD
NEO4J_DB
NEO4J_AURA_DB_URI
allowlist_externals =
ruby
bash
rm
dependency_groups =
test
deps =
neo4j4: neo4j >= 4.4.2, < 5.0
neo4j5: neo4j >= 5.0, < 6.0
neo4j6: neo4j >= 6.0, < 7.0
pandas1: pandas >= 1.0, < 2.0
pandas1: numpy == 1.24.3
pandas2: pandas >= 2.2.2, < 3.0
pandas2: numpy >= 2.0
pyarrow19: pyarrow >= 19.0, < 20.0
pyarrow20: pyarrow >= 20.0, < 21.0
pyarrow21: pyarrow >= 21.0, < 22.0
pyarrow22: pyarrow >= 22.0, < 23.0
pyarrow23: pyarrow >= 23.0, < 24.0
networkx2: networkx >= 2.0, < 3.0
networkx3: networkx >= 3.0, < 4.0
commands =
standard: bash -ec 'pytest tests --include-enterprise --include-model-store-location && ruby ./doc/tests/test_docs.rb python3 -n test_enterprise && pytest ./doc/tests/test_client_only_endpoints.py'
encrypted: pytest tests --encrypted-only
aura: pytest tests --include-enterprise --target-aura
ogb: pytest tests --include-enterprise --include-ogb
nx: bash -ec 'pytest tests/*/test_nx_loader.py --include-enterprise && ruby ./doc/tests/test_docs.rb python3 -n test_networkx'
cloud-architecture: pytest tests --include-cloud-architecture
rm -rf {envdir}/lib
[testenv:jupyter-notebook-ci]
passenv =
NEO4J_URI
NEO4J_USER
NEO4J_PASSWORD
NEO4J_DB
dependency_groups =
notebook-ci
commands =
python ./scripts/run_notebooks.py
[testenv:jupyter-notebook-session-ci] # see examples/.env.template for expected environment variables
passenv =
AURA_ENV
CLIENT_ID
CLIENT_SECRET
PROJECT_ID
AURA_INSTANCEID
NEO4J_URI
NEO4J_USERNAME
NEO4J_PASSWORD
dependency_groups =
notebook-aura-ci
commands =
python ./scripts/run_notebooks.py sessions-attached
[testenv:jupyter-notebook-session-self-managed-db-ci]
passenv =
AURA_ENV
CLIENT_ID
CLIENT_SECRET
PROJECT_ID
NEO4J_URI
NEO4J_USERNAME
NEO4J_PASSWORD
dependency_groups =
notebook-aura-ci
commands =
python ./scripts/run_notebooks.py sessions-self-managed-db
[testenv:session-v2-endpoints]
passenv =
GDS_SESSION_IMAGE
NEO4J_DATABASE_IMAGE
BUILD_NUMBER
GDS_LICENSE_KEY
GDS_API_SPEC_FILE
GITHUB_TOKEN
commands =
pytest tests/integrationV2 --include-integration-v2