Skip to content

Commit

Permalink
bump cache, install with deps (#951)
Browse files Browse the repository at this point in the history
* bump cache, install with deps

* need hdf5 deps as well
  • Loading branch information
sappelhoff authored Jan 30, 2022
1 parent afc4022 commit 92258b2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python -m pip install --upgrade --progress-bar off pip
python -m pip install --upgrade --progress-bar off -r test_requirements.txt
python -m pip install --upgrade --progress-bar off -r doc/requirements.txt
python -m pip install --upgrade --no-deps https://api.github.com/repos/mne-tools/mne-python/zipball/main
python -m pip install --upgrade https://api.github.com/repos/mne-tools/mne-python/zipball/main
python -m pip install -e .
- run:
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: style-${{ env.pythonLocation }}-${{ hashFiles('setup.cfg') }}-${{ hashFiles('test_requirements.txt') }}
key: style-0-${{ env.pythonLocation }}-${{ hashFiles('setup.cfg') }}-${{ hashFiles('test_requirements.txt') }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
- uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: build-${{ env.pythonLocation }}-${{ hashFiles('setup.cfg') }}-${{ hashFiles('test_requirements.txt') }}
key: build-0-${{ env.pythonLocation }}-${{ hashFiles('setup.cfg') }}-${{ hashFiles('test_requirements.txt') }}

- name: Update pip, wheel, and setuptools
run: python -m pip install --upgrade pip wheel setuptools
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: test-${{ env.pythonLocation }}-${{ hashFiles('setup.cfg') }}-${{ hashFiles('test_requirements.txt') }}
key: test-0-${{ env.pythonLocation }}-${{ hashFiles('setup.cfg') }}-${{ hashFiles('test_requirements.txt') }}

- name: Install Python dependencies using pip
run: |
Expand All @@ -151,13 +151,15 @@ jobs:
if: "matrix.mne-version == 'mne-stable'"
run: |
git clone --depth 1 https://github.com/mne-tools/mne-python.git -b maint/0.24
pip install --no-deps -e ./mne-python
cd ./mne-python
pip install -e .[hdf5]
- name: Install MNE (main)
if: "matrix.mne-version == 'mne-main'"
run: |
git clone --depth 1 https://github.com/mne-tools/mne-python.git -b main
pip install --no-deps -e ./mne-python
cd ./mne-python
pip install -e .[hdf5]
- name: Install BIDS validator (stable)
if: "matrix.bids-validator-version == 'validator-stable'"
Expand Down Expand Up @@ -193,7 +195,7 @@ jobs:
mne sys_info
- name: Install MNE-BIDS
run: pip install --no-deps -e .
run: pip install -e .

- name: Run pytest
run: make test
Expand Down

0 comments on commit 92258b2

Please sign in to comment.