[pre-commit.ci] pre-commit autoupdate #1023
Workflow file for this run
This file contains hidden or 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: 'linux / conda' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| jobs: | |
| # Linux | |
| job: | |
| timeout-minutes: 20 | |
| name: 'py3.10' | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| env: | |
| MNE_LOGGING_LEVEL: 'warning' | |
| MKL_NUM_THREADS: '1' | |
| PYTHONUNBUFFERED: '1' | |
| PYTHON_VERSION: '3.10' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pyvista/setup-headless-display-action@main | |
| with: | |
| qt: true | |
| pyvista: false | |
| - uses: mamba-org/setup-micromamba@v2 | |
| with: | |
| environment-file: environment.yml | |
| create-args: >- # beware the >- instead of |, we don't split on newlines but on spaces | |
| python=${{ env.PYTHON_VERSION }} | |
| - run: | | |
| curl https://raw.githubusercontent.com/mne-tools/mne-python/main/tools/get_minimal_commands.sh -o get_minimal_commands.sh | |
| chmod +x get_minimal_commands.sh | |
| source ./get_minimal_commands.sh | |
| pip install .[test] | |
| name: 'Install dependencies' | |
| - run: pip install git+https://github.com/mne-tools/mne-python@main | |
| - run: pip install -e . | |
| - run: | | |
| which mne | |
| mne sys_info -pd | |
| python -c "import numpy; numpy.show_config()" | |
| name: 'Show infos' | |
| - name: Run pytest | |
| run: python -m pytest . --cov=mne_connectivity --cov-report=xml --cov-config=pyproject.toml --verbose --ignore mne-python | |
| - uses: codecov/codecov-action@v5 |