File tree Expand file tree Collapse file tree 2 files changed +24
-19
lines changed Expand file tree Collapse file tree 2 files changed +24
-19
lines changed Original file line number Diff line number Diff line change @@ -42,25 +42,25 @@ jobs:
42
42
strategy :
43
43
fail-fast : false
44
44
matrix :
45
- os : ["ubuntu-latest"]
45
+ os : ["ubuntu-latest", "macos-latest", "windows-latest" ]
46
46
# Bookend python versions
47
- python-version : ["3.12"]
47
+ python-version : ["3.9", "3.11", "3. 12"]
48
48
env : [""]
49
- # include:
50
- # # Minimum python version:
51
- # - env: "bare-minimum"
52
- # python-version: "3.9"
53
- # os: ubuntu-latest
54
- # - env: "min-all-deps"
55
- # python-version: "3.9"
56
- # os: ubuntu-latest
57
- # # Latest python version:
58
- # - env: "all-but-dask"
59
- # python-version: "3.10"
60
- # os: ubuntu-latest
61
- # - env: "flaky"
62
- # python-version: "3.10"
63
- # os: ubuntu-latest
49
+ include :
50
+ # Minimum python version:
51
+ - env : " bare-minimum"
52
+ python-version : " 3.9"
53
+ os : ubuntu-latest
54
+ - env : " min-all-deps"
55
+ python-version : " 3.9"
56
+ os : ubuntu-latest
57
+ # Latest python version:
58
+ - env : " all-but-dask"
59
+ python-version : " 3.10"
60
+ os : ubuntu-latest
61
+ - env : " flaky"
62
+ python-version : " 3.10"
63
+ os : ubuntu-latest
64
64
steps :
65
65
- uses : actions/checkout@v4
66
66
with :
@@ -136,7 +136,12 @@ jobs:
136
136
save-always : true
137
137
138
138
- name : Run tests
139
- run : python -m pytest
139
+ run : python -m pytest -n 4
140
+ --timeout 180
141
+ --cov=xarray
142
+ --cov-report=xml
143
+ --junitxml=pytest.xml
144
+ $PYTEST_EXTRA_FLAGS
140
145
141
146
- name : Upload test results
142
147
if : always()
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ markers = [
298
298
]
299
299
minversion = " 7"
300
300
python_files = " test_*.py"
301
- testpaths = [" properties" ]
301
+ testpaths = [" xarray/tests " , " properties" ]
302
302
303
303
[tool .aliases ]
304
304
test = " pytest"
You can’t perform that action at this time.
0 commit comments