File tree 1 file changed +12
-5
lines changed
1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 2
2
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
3
3
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
4
4
5
- name : Lint and test workflow
5
+ name : Lint and test workflow with dry runs
6
6
on :
7
7
push :
8
- pull_request :
9
8
workflow_dispatch :
10
9
11
10
jobs :
82
81
- name : Test fidqc feature
83
82
run : |
84
83
poetry run autoafids test_data/bids_T1w test_out participant --fidqc -np
85
-
84
+
85
+ name : test workflow with wet run
86
+ on :
87
+ pull_request :
88
+
89
+ jobs :
86
90
wetrun_test :
87
91
runs-on : ubuntu-latest
88
92
if : github.event_name == 'pull_request'
@@ -114,8 +118,11 @@ jobs:
114
118
- name : Wetrun testing
115
119
run : |
116
120
poetry run autoafids test_data/bids_wetrun_testing test_out participant \
117
- --cores all --force-output --stereotaxy STN --fidqc && \
121
+ --cores all --force-output --stereotaxy STN --fidqc | tee autoafids_output.log
122
+
123
+ - name : Model accuracy check
124
+ run : |
118
125
poetry run python ./tests/test_fcsv_output.py \
119
126
--autoafids_fcsv ./test_out/sub-001/afids-cnn/*.fcsv \
120
- --baseline_fcsv ./test_data/bids_wetrun_testing/sub-001/anat/sub-001*.fcsv
127
+ --baseline_fcsv ./test_data/bids_wetrun_testing/sub-001/anat/sub-001*.fcsv | tee test_fcsv_output.log
121
128
You can’t perform that action at this time.
0 commit comments