@@ -16,53 +16,35 @@ jobs:
16
16
outputs :
17
17
matrix : ${{ steps.set-matrix.outputs.matrix }}
18
18
19
- test_implementations :
20
- name : ${{ matrix.implementation }}-${{ matrix.platform }}-py${{ matrix.python-version }}-${{ matrix.zarr-python }}
21
- runs-on : ${{ matrix.platform }}
22
- needs : get_implementations
23
-
19
+ test_implementations_released :
24
20
strategy :
25
21
fail-fast : false
26
22
matrix :
23
+ implementation : ${{ fromJson(needs.get_implementations.outputs.matrix) }}
27
24
platform : [ubuntu-latest]
28
25
python-version : [3.9]
29
- implementation : ${{ fromJson(needs.get_implementations.outputs.matrix) }}
30
26
zarr-python : [released]
27
+ needs : get_implementations
28
+ uses : ./.github/workflows/impl.yml
29
+ with :
30
+ implementation : ${{ matrix.implementation }}
31
+ platform : ${{ matrix.platform }}
32
+ python-version : ${{ matrix.python-version }}
33
+ zarr-python : ${{ matrix.zarr-python }}
31
34
32
- steps :
33
- - name : Checkout
34
- uses : actions/checkout@v3
35
-
36
- - name : Setup miniconda
37
- uses : conda-incubator/setup-miniconda@v1
38
- with :
39
- auto-update-conda : true
40
- channels : conda-forge,ome
41
- environment-file : implementations/${{ matrix.implementation }}/environment.yml
42
- python-version : ${{ matrix.python-version }}
43
- env :
44
- ACTIONS_ALLOW_UNSECURE_COMMANDS : true
45
-
46
- - name : Install zarr dev (optional)
47
- shell : bash -l {0}
48
- if : ${{ matrix.config.zarr-python == 'pre' }}
49
- run : |
50
- python -m pip install git+https://github.com/zarr-developers/zarr-python.git
51
-
52
- - name : Cache local Maven repository
53
- uses : actions/cache@v2
54
- with :
55
- path : ~/.m2/repository
56
- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
57
- restore-keys : |
58
- ${{ runner.os }}-maven-
59
-
60
- - name : Run tests
61
- shell : bash -l {0}
62
- run : make implementations/${{ matrix.implementation }}
63
-
35
+ # Re-run the same configurations but with a pre-release of Zarr
64
36
test_implementations_pre :
65
- uses : ./github/workflows/build.yml
66
- needs : test_implementations
37
+ strategy :
38
+ fail-fast : false
39
+ matrix :
40
+ implementation : ${{ fromJson(needs.get_implementations.outputs.matrix) }}
41
+ platform : [ubuntu-latest]
42
+ python-version : [3.9]
43
+ zarr-python : [pre]
44
+ needs : test_implementations_released
45
+ uses : ./.github/workflows/impl.yml
67
46
with :
68
- python : [pre]
47
+ implementation : ${{ matrix.implementation }}
48
+ platform : ${{ matrix.platform }}
49
+ python-version : ${{ matrix.python-version }}
50
+ zarr-python : ${{ matrix.zarr-python }}
0 commit comments