Skip to content

Commit

Permalink
REL: 0.15.0 (#1260)
Browse files Browse the repository at this point in the history
* build docs in gh actions for easy artifact download

* add release items

* bump pre-commit version
  • Loading branch information
sappelhoff committed Jun 4, 2024
1 parent 95023a2 commit 23526f9
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
9 changes: 7 additions & 2 deletions doc/_static/versions.json
Original file line number Diff line number Diff line change
@@ -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/"
},
{
Expand Down
4 changes: 2 additions & 2 deletions doc/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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",
]
Expand Down

0 comments on commit 23526f9

Please sign in to comment.