Skip to content

Commit 06cceb7

Browse files
committed
Update Python dependencies and fix GitHub Actions workflow
chore: upgrade `actions/checkout` to v5 in .github/workflows/main.yml chore: upgrade `conda-incubator/setup-miniconda` to v3 .github/workflows/main.yml chore: upgrade `codecov/codecov-action` to v5 .github/workflows/main.yml chore: update Ubuntu runner to `ubuntu-latest` .github/workflows/main.yml chore: add Python 3.8~1.13 to matrix strategy .github/workflows/main.yml chore: update python version in setup.py to match the one in environment.yml
1 parent d77d63e commit 06cceb7

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Testing MNE-Features on Ubuntu 20.04
1+
name: Testing MNE-Features on the latest Ubuntu
22
on:
33
push:
44
branches:
@@ -9,22 +9,21 @@ on:
99

1010
jobs:
1111
tests:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
env:
14-
PYTHON_VERSION: '3.8'
1514
CONDA_ENV: 'environment.yml'
1615
strategy:
1716
matrix:
18-
python-version: [ "3.8" ]
17+
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
1918
numba: [ "on", "off" ]
2019
continue-on-error: true
2120
name: python-${{ matrix.python-version }}-numba-${{ matrix.numba }}
2221
steps:
23-
- uses: actions/checkout@v2
24-
- uses: conda-incubator/setup-miniconda@v2
22+
- uses: actions/checkout@v5
23+
- uses: conda-incubator/setup-miniconda@v3
2524
with:
2625
activate-environment: 'mne-features'
27-
python-version: ${{ env.PYTHON_VERSION }}
26+
python-version: ${{ matrix.python-version }}
2827
environment-file: ${{ env.CONDA_ENV }}
2928
name: Install Miniconda and create environment
3029
- if: ${{ matrix.numba == 'off' }}
@@ -46,6 +45,6 @@ jobs:
4645
run: check-manifest --ignore doc,mne_features/*/tests
4746
name: Check manifest
4847
- name: Upload coverage stats
49-
uses: codecov/codecov-action@v1
48+
uses: codecov/codecov-action@v5
5049
with:
5150
file: ./coverage.xml

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def package_tree(pkgroot):
5757
'Programming Language :: Python :: 3',
5858
],
5959
platforms='any',
60-
python_requires='>=3.6',
60+
python_requires='>=3.8',
6161
packages=package_tree('mne_features'),
6262
install_requires=['numpy', 'scipy', 'numba', 'scikit-learn', 'mne',
6363
'PyWavelets', 'pandas'],

0 commit comments

Comments
 (0)