Skip to content

Commit 5d91271

Browse files
committed
Add shell for better exit code handling
1 parent c261dad commit 5d91271

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/python_workflow_test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,31 @@ name: Python test
22
run-name: python_test
33
on: [push]
44
jobs:
5-
Spike-Only:
5+
Preamble:
66
runs-on: self-hosted
77
steps:
88
- run: cd ~/Desktop/blech_clust
99
- run: pwd
1010
- run: which python
1111
- run: conda info --envs
12+
Spike-Only:
13+
runs-on: self-hosted
14+
steps:
1215
- name: Prefect SPIKE only test
16+
shell: bash
1317
working-directory: /home/abuzarmahmood/Desktop/blech_clust
1418
run: python pipeline_testing/prefect_pipeline.py -s --raise-exception
1519
EMG-Only:
1620
runs-on: self-hosted
1721
steps:
1822
- name: Prefect EMG only test
23+
shell: bash
1924
working-directory: /home/abuzarmahmood/Desktop/blech_clust
2025
run: python pipeline_testing/prefect_pipeline.py -e --raise-exception
2126
Spike-EMG:
2227
runs-on: self-hosted
2328
steps:
2429
- name: Prefect SPIKE then EMG test
30+
shell: bash
2531
working-directory: /home/abuzarmahmood/Desktop/blech_clust
2632
run: python pipeline_testing/prefect_pipeline.py --spike-emg --raise-exception

0 commit comments

Comments
 (0)