WIP - fix install env #155
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: | |
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 |