Skip to content

Commit a9cfe61

Browse files
committed
Update workflow
1 parent a5c5f9b commit a9cfe61

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/analysis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ jobs:
118118
use-public-rspm: true
119119
- name: Install R dependencies
120120
uses: r-lib/actions/setup-r-dependencies@v2
121+
cache: true
121122
with:
122123
packages: |
123124
any::plyr
@@ -157,14 +158,21 @@ jobs:
157158
use-public-rspm: true
158159
- name: Install R dependencies
159160
uses: r-lib/actions/setup-r-dependencies@v2
161+
cache: true
160162
with:
161163
packages: |
162164
any::tidyverse
163-
any::stats
164165
any::assertr
165166
- name: Download artifacts
166167
uses: actions/download-artifact@v3
167168
with:
168169
name: Data
169170
- name: Test against previous results
170171
run: Rscript --vanilla tests/IVIMmodels/unit_tests/compare.r test_output.csv test_reference.csv reference_output.csv test_results.csv
172+
- name: Upload data
173+
uses: actions/upload-artifact@v3
174+
with:
175+
name: Comparison
176+
path: |
177+
test_reference.csv
178+
test_results.csv

0 commit comments

Comments
 (0)