@@ -3,7 +3,7 @@ name: Downstream
33on :
44 workflow_dispatch :
55 pull_request :
6- types : [labeled]
6+ types : [labeled, synchronize, opened, reopened ]
77
88permissions :
99 contents : read
@@ -15,7 +15,9 @@ concurrency:
1515jobs :
1616 xarray :
1717 name : Xarray zarr backend tests
18- if : github.event_name == 'workflow_dispatch' || github.event.label.name == 'run-downstream'
18+ if : |
19+ github.event_name == 'workflow_dispatch'
20+ || contains(github.event.pull_request.labels.*.name, 'run-downstream')
1921 runs-on : ubuntu-latest
2022 steps :
2123 - name : Check out zarr-python
@@ -51,14 +53,16 @@ jobs:
5153 - name : Run xarray zarr backend tests
5254 working-directory : xarray
5355 run : |
54- pixi run -e test-py313 -- python -m pytest -x - -no-header -q \
55- xarray/tests/test_backends.py -k zarr \
56- xarray/tests/test_backends_api.py -k zarr \
57- xarray/tests/test_backends_datatree.py -k zarr
56+ pixi run -e test-py313 -- python -m pytest --no-header -q \
57+ xarray/tests/test_backends.py \
58+ xarray/tests/test_backends_api.py \
59+ xarray/tests/test_backends_datatree.py
5860
5961 numcodecs :
6062 name : numcodecs zarr3 codec tests
61- if : github.event_name == 'workflow_dispatch' || github.event.label.name == 'run-downstream'
63+ if : |
64+ github.event_name == 'workflow_dispatch'
65+ || contains(github.event.pull_request.labels.*.name, 'run-downstream')
6266 runs-on : ubuntu-latest
6367 steps :
6468 - name : Check out zarr-python
0 commit comments