Skip to content

Run tests - 1192ea1d4c109bc05ac479bba3503e355c0f6bf8 #7

Run tests - 1192ea1d4c109bc05ac479bba3503e355c0f6bf8

Run tests - 1192ea1d4c109bc05ac479bba3503e355c0f6bf8 #7

Workflow file for this run

name: Run tests
run-name: Run tests - ${{ github.sha }}
on: push
jobs:
run_test:
strategy:
matrix:
config:
[
{os: ubuntu-latest, py: '3.8'},
{os: ubuntu-latest, py: '3.9'},
{os: ubuntu-latest, py: '3.10'},
{os: ubuntu-latest, py: '3.11'},
{os: ubuntu-latest, py: '3.12'},
{os: macos-latest, py: '3.8'},
{os: macos-latest, py: '3.9'},
{os: macos-latest, py: '3.10'},
{os: macos-latest, py: '3.11'},
{os: macos-latest, py: '3.12'},
{os: macos-14, py: '3.10'},
{os: macos-14, py: '3.11'},
{os: macos-14, py: '3.12'}
]
name: Python ${{ matrix.config.py }} on ${{ matrix.config.os }}
runs-on: ${{ matrix.config.os }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Download data
working-directory: tests
run: |
curl -L -O https://github.com/daducci/COMMIT/wiki/files/demo01_data.zip
curl -L -O https://github.com/daducci/COMMIT/wiki/files/demo01_fibers.tck
7z x demo01_data.zip
mv demo01_fibers.tck demo01_data
- name: Set up Python ${{ matrix.config.py }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.config.py }}
- name: Install dmri-commit
run: pip install . --no-cache-dir --force-reinstall
- name: Run tests
working-directory: tests
run: |
echo "Run tests"
- name: Done
run: |
echo "All tests passed!"