FIX - basename needs to be used when assessing _is_hzfile function #248
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: nih2mne-tests | |
on: [push] | |
jobs: | |
Pytest: | |
name: InstallAndTest | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
python-version: ["3.11"] | |
steps: | |
- uses: conda-incubator/setup-miniconda@v3 | |
- uses: actions/checkout@v4 | |
with: | |
auto-update-conda: true | |
python-version: ${{ matrix.python-version }} | |
- name: Install MNE | |
shell: bash -el {0} | |
run: conda install --override-channels --channel=conda-forge 'python<3.12' pytest 'mne=1.5' 'numba<0.60' | |
- name: Install Git | |
run: sudo apt install git -y | |
- name: Pip Install nih2mne | |
shell: bash -el {0} | |
run: $CONDA/bin/pip install git+https://github.com/nih-megcore/nih_to_mne.git | |
- name: Pytest | |
shell: bash -el {0} | |
run: $CONDA/bin/pytest | |