diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index f8da4b1..a15ba6a 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -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 @@ -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 @@ -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: | @@ -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 @@ -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