-
Notifications
You must be signed in to change notification settings - Fork 645
/
tox.ini
51 lines (45 loc) · 895 Bytes
/
tox.ini
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
[tox]
envlist=
py37{-async,-noextras},
py{38,39,310,311,312,313,py3},
lint,
rst,
[testenv]
extras =
dev-test
aiohttp
requests
timezone
passenv = *
allowlist_externals = make
commands = make {env:GEOPY_TOX_TARGET:test}
[testenv:py37-async]
# Run a single job with asyncio adapter:
# (not the whole matrix, to avoid spending extra quota)
setenv = GEOPY_TEST_ADAPTER=geopy.adapters.AioHTTPAdapter
[testenv:py37-noextras]
# Ensure `pip install geopy` without any non-test extras doesn't break.
extras =
dev-test
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
pypy3: pypy3
pypy-3.7: pypy3
[testenv:lint]
basepython = python3
extras =
dev-lint
usedevelop = True
commands = make lint
[testenv:rst]
basepython = python3
extras =
dev-docs
commands = make rst_check