Repository navigation
Expand file tree
/
Copy pathtox.ini
More file actions
64 lines (61 loc) · 2.2 KB
/
Copy pathtox.ini
File metadata and controls
64 lines (61 loc) · 2.2 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
# This file is part of tad-dftd3.
#
# SPDX-Identifier: Apache-2.0
# Copyright (C) 2024 Grimme Group
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[tox]
min_version = 4.0
isolated_build = True
envlist =
# Full catalogue of supported Python/PyTorch combinations, so that any of
# them can be run with a bare `tox` or listed with `tox -l`.
#
# This list is independent of the CI matrix: the workflows select single
# environments with `tox -e pyXY-torchZ` and never read `envlist`.
py310-torch{240,241,250,251,260,270,271,280,290,291,2100,2110,2120,2121,2130,2140},
py311-torch{240,241,250,251,260,270,271,280,290,291,2100,2110,2120,2121,2130,2140},
py312-torch{240,241,250,251,260,270,271,280,290,291,2100,2110,2120,2121,2130,2140},
py313-torch{260,270,271,280,290,291,2100,2110,2120,2121,2130,2140},
py314-torch{290,291,2100,2110,2120,2121,2130,2140},
[testenv]
setenv =
PIP_EXTRA_INDEX_URL = {env:PIP_EXTRA_INDEX_URL:https://download.pytorch.org/whl/cpu}
PYTHONFAULTHANDLER = 1
TORCHINDUCTOR_CACHE_DIR = {envtmpdir}/torch_cache
deps =
torch240: torch==2.4.0
torch241: torch==2.4.1
torch250: torch==2.5.0
torch251: torch==2.5.1
torch260: torch==2.6.0
torch270: torch==2.7.0
torch271: torch==2.7.1
torch280: torch==2.8.0
torch290: torch==2.9.0
torch291: torch==2.9.1
torch2100: torch==2.10.0
torch2110: torch==2.11.0
torch2120: torch==2.12.0
torch2121: torch==2.12.1
torch2130: torch==2.13.0
torch2140: torch==2.14.0
.[tox]
commands =
pytest -vv {posargs: \
-n 4 \
--random-order-bucket=global \
--cov=tad_dftd3 \
--cov-report=term-missing \
--cov-report=xml:coverage.xml \
test}