-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
48 lines (35 loc) · 1.25 KB
/
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
[tox]
envlist =
py{310,311,312,313}
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
pytest
commands =
pip install pytest-random-order
pip install .
pytest --random-order tests
basepython =
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
[testenv:py310]
conda_env = ci/environment-3.10.yml
[testenv:py311]
conda_env = ci/environment-3.11.yml
[testenv:py312]
conda_env = ci/environment-3.12.yml
[testenv:py313]
conda_env = ci/environment-3.13.yml
; 310: All Passed
; 311: 1 failed
; [FAILED tests/test_builders.py::test_builder_build[basedirs4-Mom6Builder-kwargs4-27-27-15] - AssertionError: assert 26 == 27
; FAILED tests/test_builders.py::test_builder_parser[mom6/output000/19000101.ice_daily.nc-Mom6Builder-seaIce-None-XXXXXXXX_ice_daily] - KeyError: 'realm'
; FAILED tests/test_builders.py::test_builder_parser[mom6/output000/19000101.ocean_daily.nc-Mom6Builder-ocean-None-XXXXXXXX_ocean_daily] - KeyError: 'realm'
; 3 failed
; 312 1 failed
; FAILED tests/test_builders.py::test_parse_access_ncfile[Mom6Builder-mom6/output000/19000101.ocean_annual_z.nc-expected20-False] - AssertionError: assert _AccessNCFile...ays', 'days']) == _AccessNCFile...ays', 'days'])
; 1 failed,
; 313: All Passed