Skip to content

Commit

Permalink
Merge pull request #48 from Unique-Usman/usman
Browse files Browse the repository at this point in the history
Downgraded upload and download-artifact@v4 to v3
  • Loading branch information
etpeterson authored Mar 1, 2024
2 parents ae198b3 + a147635 commit 1f4cbf4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
source .venv/bin/activate
python -m pytest -m slow --selectAlgorithm ${{ matrix.algorithm }} --saveFileName test_output_${{ matrix.algorithm }}_${{ matrix.SNR }}.csv --SNR ${{ matrix.SNR }} --fitCount 300 --saveDurationFileName test_duration_${{ matrix.algorithm }}_${{ matrix.SNR }}.csv
- name: Upload raw data
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: Working_Data
retention-days: 1
Expand All @@ -88,7 +88,7 @@ jobs:
needs: build
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
path: artifacts
- name: Merge fitting results
Expand All @@ -100,7 +100,7 @@ jobs:
head -n 1 $(ls artifacts/Working_Data/test_duration_*.csv | head -n 1) > test_duration.csv
tail -q -n +2 artifacts/Working_Data/test_duration_*.csv >> test_duration.csv
- name: Upload merged artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: Data
path: |
Expand All @@ -126,13 +126,13 @@ jobs:
any::data.table
any::ggplot2
- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: Data
- name: Generate figures
run: Rscript --vanilla tests/IVIMmodels/unit_tests/analyze.r test_output.csv test_duration.csv
- name: Upload figures
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
if: always()
with:
name: Figures
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
any::tidyverse
any::assertr
- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: Data
- name: Test against previous results
Expand Down

0 comments on commit 1f4cbf4

Please sign in to comment.