Skip to content

Commit

Permalink
Add test badge and reduce slow analysis length
Browse files Browse the repository at this point in the history
  • Loading branch information
etpeterson committed Nov 4, 2023
1 parent 9f67f33 commit f055c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Generate fitting data
run: |
pip install pytest
python -m pytest -m slow --saveFileName test_output.csv --SNR 10 30 50 100 200 --fitCount 1000 --saveDurationFileName test_duration.csv
python -m pytest -m slow --saveFileName test_output.csv --SNR 10 30 50 100 200 --fitCount 300 --saveDurationFileName test_duration.csv
- name: Generate figures
run: Rscript --vanilla tests/IVIMmodels/unit_tests/analyze.r test_output.csv test_duration.csv
- name: Upload figures
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ The **test** folder contains the test files corresponding to the contributed cod
The **utils** folder contains various helpful tools.

## View Testing Reports
*to be added*
[![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 comments on commit f055c4c

Please sign in to comment.