Skip to content

Commit 4089a80

Browse files
committed
Add test badge and reduce slow analysis length
1 parent 36f2a8c commit 4089a80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Generate fitting data
4040
run: |
4141
pip install pytest
42-
python -m pytest -m slow --saveFileName test_output.csv --SNR 10 30 50 100 200 --fitCount 1000 --saveDurationFileName test_duration.csv
42+
python -m pytest -m slow --saveFileName test_output.csv --SNR 10 30 50 100 200 --fitCount 300 --saveDurationFileName test_duration.csv
4343
- name: Generate figures
4444
run: Rscript --vanilla tests/IVIMmodels/unit_tests/analyze.r test_output.csv test_duration.csv
4545
- name: Upload figures

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ The **test** folder contains the test files corresponding to the contributed cod
3030
The **utils** folder contains various helpful tools.
3131

3232
## View Testing Reports
33-
*to be added*
33+
[![Unit tests](https://github.com/OSIPI/TF2.4_IVIM-MRI_CodeCollection/actions/workflows/unit_test.yml/badge.svg?branch=main)](https://github.com/OSIPI/TF2.4_IVIM-MRI_CodeCollection/actions/workflows/unit_test.yml)

0 commit comments

Comments
 (0)