Added fidcsi and fidall options for GE SVS - for special case of pulse-acquire scans #450
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run code tests on push and pull requests | |
on: | |
push: | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
miniconda: | |
name: Miniconda (${{ matrix.python-version }}, ${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13"] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
lfs: true | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
activate-environment: test | |
environment-file: requirements.yml | |
auto-activate-base: false | |
channels: conda-forge | |
- shell: bash -l {0} | |
run: | | |
conda info | |
conda list | |
- name: Lint | |
shell: bash -l {0} | |
run: | | |
conda install flake8 | |
python -m flake8 spec2nii | |
- name: Run pytest | |
shell: bash -l {0} | |
run: | | |
conda install pytest h5py pillow | |
pip install --no-deps . | |
pytest -m "not orientation" tests |