Skip to content

Merge branch 'DL_wrapper' of https://github.com/OSIPI/TF2.4_IVIM-MRI_… #712

Merge branch 'DL_wrapper' of https://github.com/OSIPI/TF2.4_IVIM-MRI_…

Merge branch 'DL_wrapper' of https://github.com/OSIPI/TF2.4_IVIM-MRI_… #712

Workflow file for this run

name: Unit tests
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
continue-on-error: false
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
exclude:
- os: windows-latest
python-version: "3.13"
# Windows chokes on py3.13: https://github.com/numpy/numpy/issues/27894
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: |
pip install pytest pytest-cov
python -m pytest --doctest-modules --junitxml=junit/test-results.xml --cov=. --cov-report=xml --cov-report=html