Skip to content

Commit 36f2a8c

Browse files
committed
Try a cleaner workflow file and a longer test run
1 parent 19a1b55 commit 36f2a8c

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/analysis.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,9 @@ jobs:
1010
build:
1111

1212
runs-on: ubuntu-latest
13-
# if: github.ref == 'refs/heads/main'
1413
continue-on-error: false
1514
strategy:
1615
fail-fast: false
17-
# matrix:
18-
# os: [ubuntu-latest, macos-latest, windows-latest]
19-
# python-version: ["3.8", "3.9", "3.10", "3.11"]
20-
# exclude:
21-
# - os: macos-latest
22-
# python-version: "3.7"
23-
# - os: windows-latest
24-
# python-version: "3.7"
2516
steps:
2617
- uses: actions/checkout@v3
2718
- name: Set up Python
@@ -39,24 +30,22 @@ jobs:
3930
- name: Install R dependencies
4031
uses: r-lib/actions/setup-r-dependencies@v2
4132
with:
42-
packages: any::sessioninfo
43-
extra-packages: |
33+
packages: |
4434
any::plyr
4535
any::dplyr
4636
any::tidyverse
4737
any::data.table
4838
any::ggplot2
49-
# needs: check
5039
- name: Generate fitting data
5140
run: |
5241
pip install pytest
53-
python -m pytest -m slow --saveFileName test_output.csv --SNR 10 --fitCount 10 --saveDurationFileName test_duration.csv
42+
python -m pytest -m slow --saveFileName test_output.csv --SNR 10 30 50 100 200 --fitCount 1000 --saveDurationFileName test_duration.csv
5443
- name: Generate figures
5544
run: Rscript --vanilla tests/IVIMmodels/unit_tests/analyze.r test_output.csv test_duration.csv
5645
- name: Upload figures
5746
uses: actions/upload-artifact@v3
5847
with:
59-
name: code-coverage-report
48+
name: Fit figures
6049
path: |
6150
D.pdf
6251
f.pdf

0 commit comments

Comments
 (0)