@@ -19,19 +19,17 @@ jobs:
19
19
with :
20
20
python-version : " 3.11"
21
21
cache : ' pip'
22
- - name : Cache virtualenv
23
- uses : actions/cache@v3
24
- with :
25
- key : venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('requirements.txt') }}
26
- path : .venv
22
+ # - name: Cache virtualenv
23
+ # uses: actions/cache@v3
24
+ # with:
25
+ # key: venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('requirements.txt') }}
26
+ # path: .venv
27
27
- name : Install dependencies
28
28
run : |
29
29
python -m venv .venv
30
30
source .venv/bin/activate
31
31
python -m pip install -r requirements.txt
32
32
python -m pip install pytest
33
- echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
34
- echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
35
33
- name : Read algorithms
36
34
id : algorithms
37
35
run : |
@@ -61,11 +59,11 @@ jobs:
61
59
with :
62
60
python-version : " 3.11"
63
61
cache : ' pip'
64
- - name : Cache virtualenv
65
- uses : actions/cache@v3
66
- with :
67
- key : venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('requirements.txt') }}
68
- path : .venv
62
+ # - name: Cache virtualenv
63
+ # uses: actions/cache@v3
64
+ # with:
65
+ # key: venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('requirements.txt') }}
66
+ # path: .venv
69
67
- name : Install dependencies
70
68
run : |
71
69
python -m venv .venv
79
77
- name : Upload raw data
80
78
uses : actions/upload-artifact@v3
81
79
with :
82
- name : WorkingData
80
+ name : Working_Data
81
+ retention-days : 1
83
82
path : |
84
83
test_output_${{ matrix.algorithm }}_${{ matrix.SNR }}.csv
85
84
test_duration_${{ matrix.algorithm }}_${{ matrix.SNR }}.csv
@@ -94,14 +93,14 @@ jobs:
94
93
path : artifacts
95
94
- name : Merge fitting results
96
95
run : |
97
- cat artifacts/WorkingData /test_output_*.csv > test_output.csv
96
+ cat artifacts/Working_Data /test_output_*.csv > test_output.csv
98
97
- name : Merge timing results
99
98
run : |
100
- cat artifacts/WorkingData /test_duration_*.csv > test_duration.csv
99
+ cat artifacts/Working_Data /test_duration_*.csv > test_duration.csv
101
100
- name : Upload merged artifacts
102
101
uses : actions/upload-artifact@v3
103
102
with :
104
- name : Combined Data
103
+ name : Data
105
104
path : |
106
105
test_output.csv
107
106
test_duration.csv
@@ -127,13 +126,13 @@ jobs:
127
126
- name : Download artifacts
128
127
uses : actions/download-artifact@v3
129
128
with :
130
- name : Raw Data
129
+ name : Data
131
130
- name : Generate figures
132
131
run : Rscript --vanilla tests/IVIMmodels/unit_tests/analyze.r test_output.csv test_duration.csv
133
132
- name : Upload figures
134
133
uses : actions/upload-artifact@v3
135
134
with :
136
- name : Fit Figures
135
+ name : Figures
137
136
path : |
138
137
D.pdf
139
138
f.pdf
0 commit comments