Skip to content

Commit 6633c49

Browse files
committed
Test Azure on only one version on windows.
1) On appveyor, ABS store represent close to 25% of the test time 8min total, see 10 slowest tests below). 2) Appveyor is the slowest of the CI, the one we wait for most of the time. 3) ABS has not reason to behave differently on different Python versions. 4) We might be able to also test windows on WSL in GH-actions. ``` ========================== slowest 10 test durations ========================== 43.32s call zarr/tests/test_core.py::TestArrayWithABSStore::test_resize_2d 21.28s call zarr/tests/test_hierarchy.py::TestGroupWithABSStore::test_getitem_contains_iterators 17.72s call zarr/tests/test_core.py::TestArrayWithABSStore::test_np_ufuncs 17.54s call zarr/tests/test_core.py::TestArrayWithABSStore::test_array_2d 14.79s call zarr/tests/test_core.py::TestArrayWithABSStore::test_iter 13.76s call zarr/tests/test_core.py::TestArrayWithABSStore::test_append_2d 13.55s call zarr/tests/test_core.py::TestArrayWithABSStore::test_append_2d_axis 12.01s call zarr/tests/test_core.py::TestArrayWithABSStore::test_array_order 11.77s call zarr/tests/test_indexing.py::test_set_orthogonal_selection_3d 8.52s call zarr/tests/test_storage.py::TestFSStore::test_s3_complex ==== 1808 passed, 303 skipped, 3 xpassed, 13 warnings in 333.74s (0:05:33) ==== ```
1 parent f6095be commit 6633c49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,20 @@ environment:
1414
# See: http://stackoverflow.com/a/13751649/163740
1515
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\build.cmd"
1616
EMULATOR_LOC: C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\Storage Emulator\\AzureStorageEmulator.exe
17-
ZARR_TEST_ABS: 1
1817

1918
matrix:
2019

2120
- PYTHON: "C:\\Python36-x64"
2221
PYTHON_VERSION: "3.6"
22+
ZARR_TEST_ABS: 0
2323

2424
- PYTHON: "C:\\Python37-x64"
2525
PYTHON_VERSION: "3.7"
26+
ZARR_TEST_ABS: 0
2627

2728
- PYTHON: "C:\\Python38-x64"
2829
PYTHON_VERSION: "3.8"
30+
ZARR_TEST_ABS: 1
2931

3032
install:
3133
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

0 commit comments

Comments
 (0)