@@ -16,53 +16,17 @@ 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 }}
19
+ test_implementations_released :
22
20
needs : get_implementations
21
+ uses : ./.github/workflows/impl.yml
22
+ with :
23
+ implementations : ${{ needs.get_implementations.outputs.matrix}}
24
+ python : released
23
25
24
- strategy :
25
- fail-fast : false
26
- matrix :
27
- platform : [ubuntu-latest]
28
- python-version : [3.9]
29
- implementation : ${{ fromJson(needs.get_implementations.outputs.matrix) }}
30
- zarr-python : [released]
31
-
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
-
26
+ # Re-run the same configurations but with a pre-release of Zarr
64
27
test_implementations_pre :
65
- uses : ./github/workflows/build.yml
66
- needs : test_implementations
28
+ needs : test_implementations_released
29
+ uses : ./.github/workflows/impl.yml
67
30
with :
68
- python : [pre]
31
+ implementations : ${{ needs.get_implementations.outputs.matrix}}
32
+ python : pre
0 commit comments