Skip to content

WIP - fix install env #155

WIP - fix install env

WIP - fix install env #155

name: nih2mne-tests
on: [push]
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
- name: Setup git repo python
run: pip install pytest git+https://github.com/nih-megcore/nih_to_mne
- name: Install MEG data git submodules
run: git submodule update --init --recursive
- name: Check FS Cache
id: cache-fsdownload
uses: actions/cache@v3
with:
path: ~/FSData
key:
FSData.tar.gz
- name: Install conda env
run: cd nih_to_mne; make install_headless_env
- if: ${{ steps.cache-fsdownload.outputs.cache-hit != 'true' }}
run: pip install gdown; gdown --folder ${{ secrets.GDRIVE_MRI }} -O ~/FSData
- name: Pytest
run: pytest -vv