diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0cf02ae2d..0ca6c661c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,6 @@ # Upload a Python Package using Twine when a release is created -name: Build +name: build on: # yamllint disable-line rule:truthy release: types: [published] diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 19a71aeb1..6ea315d98 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -289,3 +289,33 @@ jobs: uses: codecov/codecov-action@v4 with: files: ./coverage.xml + + build_docs: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.12"] + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - uses: actions/cache@v4 + with: + path: ${{ env.pythonLocation }} + key: build_docs-0-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install --upgrade https://github.com/mne-tools/mne-python/archive/refs/heads/main.zip + python -m pip install -e .[test,doc] + - name: Build the documentation + run: | + make build-doc + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: documentation + path: doc/_build/html diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 01c291b5a..ad6a8a018 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.5 + rev: v0.4.7 hooks: - id: ruff name: ruff mne_bids/ diff --git a/LICENSE b/LICENSE index 4688dad05..a3ee63251 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2018-2023, mne-bids developers +Copyright (c) 2018, mne-bids developers All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/doc/_static/versions.json b/doc/_static/versions.json index 7225cce35..1fcfbdaa2 100644 --- a/doc/_static/versions.json +++ b/doc/_static/versions.json @@ -1,12 +1,17 @@ [ { - "name": "0.15 (devel)", + "name": "0.16 (devel)", "version": "dev", "url": "https://mne.tools/mne-bids/dev/" }, { - "name": "0.14 (stable)", + "name": "0.15 (stable)", "version": "stable", + "url": "https://mne.tools/mne-bids/v0.15/" + }, + { + "name": "0.14", + "version": "0.14", "url": "https://mne.tools/mne-bids/v0.14/" }, { diff --git a/doc/whats_new.rst b/doc/whats_new.rst index dd6e37a13..9a9e7a7be 100644 --- a/doc/whats_new.rst +++ b/doc/whats_new.rst @@ -17,18 +17,18 @@ Version 0.15 (unreleased) The following authors contributed for the first time. Thank you so much! 🤩 -* `Daniel McCloy`_ * `Mara Wolter`_ * `Julius Welzel`_ The following authors had contributed before. Thank you for sticking around! 🤘 * `Alex Rockhill`_ +* `Daniel McCloy`_ * `Eric Larson`_ * `Laetitia Fesselier`_ +* `Mathieu Scheltienne`_ * `Richard Höchenberger`_ * `Stefan Appelhoff`_ -* `Daniel McCloy`_ Detailed list of changes ~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/pyproject.toml b/pyproject.toml index 43046ea58..1a87c0f11 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ full = [ "pandas >= 1.3.2", "EDFlib-Python >= 1.0.6", # drop once mne <1.7 is no longer supported "edfio >= 0.2.1", - "defusedxml", # For reading EGI MFF data abd BrainVision monatges + "defusedxml", # For reading EGI MFF data and BrainVision montages ] # Dependencies for running the test infrastructure @@ -72,7 +72,7 @@ doc = [ "matplotlib", "pillow", "pandas", - "mne-nirs @ https://github.com/mne-tools/mne-nirs/archive/refs/heads/main.zip", + "mne-nirs", "seaborn", "openneuro-py", ]