diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 70651e0c9..aabb0e5fd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,10 +2,11 @@ name: 'tests' on: push: branches: - - '*' + - 'main' pull_request: branches: - '*' + concurrency: group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.type }} cancel-in-progress: true @@ -63,7 +64,7 @@ jobs: # - run: pip install --upgrade --pre --force --only-binary=":all:" --index-url "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" "numpy>=2.0.0rc1" scipy h5py matplotlib pandas scikit-learn statsmodels "tables>=3.9.3.dev0" # if: matrix.mne == 'dev' && startsWith(matrix.os, 'ubuntu') # name: Install numpy, scipy, nilearn pre - - run: pip install -ve . + - run: pip install -ve . "numpy<2" - run: mne sys_info - run: ./tools/get_testing_version.sh working-directory: mne-python diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 323da6068..093d949a7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ repos: # Ruff mne - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.8 + rev: v0.4.9 hooks: - id: ruff args: ["--fix"] diff --git a/environment.yml b/environment.yml index 8257e9be1..01dd18ed3 100644 --- a/environment.yml +++ b/environment.yml @@ -4,6 +4,8 @@ channels: dependencies: - python>=3.9 - pip +- conda +- mamba - mne - nilearn - statsmodels