File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 3636 post-cleanup : ' all'
3737 init-shell : bash
3838
39- - name : Download test data from Zenodo
40- run : |
41- chmod +x ./.scripts/download_zenodo.py
42-
43- ./.scripts/download_zenodo.py zenodo-tests/large_data_archive
44-
45- echo -e "\nDownloaded files:"
46- ls -lh zenodo-tests/large_data_archive
47-
4839 - name : Install httomolibgpu
4940 run : |
5041 pip install .[dev]
5445 run : |
5546 pytest tests/
5647
57- - name : Run Zenodo tests
48+ # Optional: Run Zenodo tests only if PR has a label
49+ - name : Download and run Zenodo tests
50+ if : contains(github.event.pull_request.labels.*.name, 'run-zenodo-tests')
5851 run : |
52+ chmod +x ./.scripts/download_zenodo.py
53+ ./.scripts/download_zenodo.py zenodo-tests/large_data_archive
5954 pytest zenodo-tests/
You can’t perform that action at this time.
0 commit comments