Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
5261ad6
Test matrix with pip job [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
b65833c
Tweak pip job [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
9b9942e
Test matrix with pip job [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
7de604f
Test matrix with pip job [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
be4a5a1
Test matrix with pip job [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
5ec9160
TST: Remove Azure temporarily
GuillaumeFavelier Nov 13, 2020
e9cff6f
Try conditional [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
6f2f351
Try conditional [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
bf94124
Try conditional [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
e6e189d
Try conditional [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
27089e4
Try conditional [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
49dd717
Debug actions [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
add7ece
Debug actions [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
0478b54
Debug actions [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
33d2f45
Debug actions [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
3153744
Try another approach [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
a4c4bf2
Try another approach [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
7e5d1e7
Try again [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
9687b0d
Try again [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
2de23de
Try again [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
beaf674
Try again [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
4e29251
Try again [skip circle][skip azp][skip travis]
GuillaumeFavelier Nov 13, 2020
ad39d93
Debug env [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
d1cc4fb
Debug env [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
484461b
Fix job name
GuillaumeFavelier Nov 13, 2020
06faa33
Debug env [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
7afe792
Debug env [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
3367c96
Debug env [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
f86f299
Debug env [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
ca9c6ab
Debug env [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
50fdf3f
Debug conda [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
992c8b1
MAke MacOS job consistent
GuillaumeFavelier Nov 13, 2020
784fae5
Re-activate conda [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
d557c17
Rename job name
GuillaumeFavelier Nov 13, 2020
d2e89b7
Re-activate conda a lot [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
526b1b4
Re-activate conda a lot [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
2e2b939
Debug env [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
4eb26e8
Split workflow [skip circle][skip travis]
GuillaumeFavelier Nov 13, 2020
0bf6ffa
Revert "TST: Remove Azure temporarily"
GuillaumeFavelier Nov 13, 2020
62bee0e
Activate mne conda env right away
GuillaumeFavelier Nov 13, 2020
25a19a8
Remove travis conf file
GuillaumeFavelier Nov 13, 2020
c400c3a
Remove cruft
GuillaumeFavelier Nov 14, 2020
ede08c0
Add maint workflow
GuillaumeFavelier Nov 14, 2020
1f463f0
Merge branch 'master' into maint/gha
GuillaumeFavelier Nov 14, 2020
1921da8
Test flake8 annots
GuillaumeFavelier Nov 14, 2020
da40c5c
Revert "Test flake8 annots"
GuillaumeFavelier Nov 14, 2020
1e9eb71
Add codespell action
GuillaumeFavelier Nov 14, 2020
38c1890
Try another syntax
GuillaumeFavelier Nov 14, 2020
dcd3f1e
Add builtin and ignore_words.txt
GuillaumeFavelier Nov 14, 2020
3009221
Remove usage from builtin dictionaries
GuillaumeFavelier Nov 14, 2020
793eac1
Test prototype codespell
GuillaumeFavelier Nov 14, 2020
56cb655
Test prototype codespell
GuillaumeFavelier Nov 14, 2020
4575822
Test separate jobs
GuillaumeFavelier Nov 14, 2020
09c1a1c
Split jobs
GuillaumeFavelier Nov 15, 2020
dcf1951
Remove TRAVIS_OS_NAME variable
GuillaumeFavelier Nov 15, 2020
3eb7d91
Merge branch 'master' into maint/gha
GuillaumeFavelier Nov 16, 2020
1f87e3f
Do not activate base
GuillaumeFavelier Nov 16, 2020
5f5c619
Test azure skip [skip azp]
GuillaumeFavelier Nov 16, 2020
dcbf8ca
Revert "Test azure skip" [skip ci]
GuillaumeFavelier Nov 16, 2020
9620055
Test azure variable [skip github]
GuillaumeFavelier Nov 16, 2020
a4332c1
Try another syntax [skip ci]
GuillaumeFavelier Nov 16, 2020
d0f5ffb
Show more logs
GuillaumeFavelier Nov 16, 2020
a13ed08
TST: Skip azure style job [skip azp]
GuillaumeFavelier Nov 16, 2020
f8304dd
Try again [skip azp]
GuillaumeFavelier Nov 16, 2020
fc24279
Try again [skip azp][skip ci]
GuillaumeFavelier Nov 16, 2020
f921ba1
Try again [skip azp]
GuillaumeFavelier Nov 17, 2020
44e6342
Try another syntax [skip azp]
GuillaumeFavelier Nov 17, 2020
c0ca0dc
Try another syntax (again) [skip azp]
GuillaumeFavelier Nov 17, 2020
0a466f2
Try another syntax (again) [skip azp]
GuillaumeFavelier Nov 17, 2020
cfaed5c
Try another syntax [skip azp]
GuillaumeFavelier Nov 17, 2020
7e2dd1a
Try another syntax [skip azp]
GuillaumeFavelier Nov 17, 2020
1db5897
Try another syntax [skip azp]
GuillaumeFavelier Nov 17, 2020
b5d9835
Try again [skip azp]
GuillaumeFavelier Nov 17, 2020
c529132
Try again [skip azp][skip ci]
GuillaumeFavelier Nov 17, 2020
de56151
Try another syntax
GuillaumeFavelier Nov 17, 2020
0fd16ee
TST: Experiment with maint/style [skip azp][skip ci]
GuillaumeFavelier Nov 17, 2020
a65e19a
Try another syntax
GuillaumeFavelier Nov 17, 2020
20028ae
Revert "TST: Experiment with maint/style [skip azp][skip ci]"
GuillaumeFavelier Nov 17, 2020
2da6cea
Trigger CIs [skip azp]
GuillaumeFavelier Nov 17, 2020
dd6a4e9
Try again [skip azp]
GuillaumeFavelier Nov 17, 2020
6cd934d
Try again [skip azp]
GuillaumeFavelier Nov 17, 2020
6d4b802
Try again [skip azp]
GuillaumeFavelier Nov 17, 2020
6d61ebd
Try again [skip azp]
GuillaumeFavelier Nov 17, 2020
2a48de0
Try again [skip azp]
GuillaumeFavelier Nov 17, 2020
f24c4b3
TST: Empty commit
GuillaumeFavelier Nov 17, 2020
f564233
Try again [skip azp]
GuillaumeFavelier Nov 17, 2020
c2824f5
Add the full list
GuillaumeFavelier Nov 17, 2020
ec050f7
Restore style job
GuillaumeFavelier Nov 17, 2020
64ad865
Test again [skip ci]
GuillaumeFavelier Nov 17, 2020
baae1d1
Test no skip
GuillaumeFavelier Nov 17, 2020
1eb7c6b
Release new workflows
GuillaumeFavelier Nov 17, 2020
3e345f3
Fix job name
GuillaumeFavelier Nov 17, 2020
aa3acdd
Fix job name (again)
GuillaumeFavelier Nov 17, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/codespell_and_flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: 'codespell_and_flake'
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
style:
if: "github.repository == 'mne-tools/mne-python' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
runs-on: ubuntu-latest
env:
CODESPELL_DIRS: 'mne/ doc/ tutorials/ examples/'
CODESPELL_SKIPS: 'doc/auto_*,*.fif,*.eve,*.gz,*.tgz,*.zip,*.mat,*.stc,*.label,*.w,*.bz2,*.annot,*.sulc,*.log,*.local-copy,*.orig_avg,*.inflated_avg,*.gii,*.pyc,*.doctree,*.pickle,*.inv,*.png,*.edf,*.touch,*.thickness,*.nofix,*.volume,*.defect_borders,*.mgh,lh.*,rh.*,COR-*,FreeSurferColorLUT.txt,*.examples,.xdebug_mris_calc,bad.segments,BadChannels,*.hist,empty_file,*.orig,*.js,*.map,*.ipynb,searchindex.dat,install_mne_c.rst,plot_*.rst,*.rst.txt,c_EULA.rst*,*.html,gdf_encodes.txt,*.svg'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: 'x64'
- run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install flake8
name: 'Install dependencies'
- uses: rbialon/flake8-annotations@v1
name: 'Setup flake8 annotations'
- run: make flake
name: 'Run flake8'
- uses: GuillaumeFavelier/actions-codespell@feat/quiet_level
with:
path: ${{ env.CODESPELL_DIRS }}
skip: ${{ env.CODESPELL_SKIPS }}
quiet_level: '3'
builtin: 'clear,rare,informal,names'
ignore_words_file: 'ignore_words.txt'
name: 'Run codespell'
65 changes: 65 additions & 0 deletions .github/workflows/compat_minimal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: 'compat / minimal'
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
# Minimal (runs with and without testing data)
job:
if: "github.repository == 'mne-tools/mne-python' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
name: 'py3.7'
runs-on: ubuntu-latest
defaults:
run:
shell: bash
env:
CONDA_DEPENDENCIES: 'numpy scipy matplotlib'
DEPS: 'minimal'
DISPLAY: ':99.0'
MNE_DONTWRITE_HOME: true
MNE_FORCE_SERIAL: true
MNE_LOGGING_LEVEL: 'warning'
MNE_SKIP_NETWORK_TEST: 1
MNE_SKIP_TESTING_DATASET_TESTS: true
OPENBLAS_NUM_THREADS: '1'
PYTHONUNBUFFERED: '1'
PYTHON_VERSION: '3.7'
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: |
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset;
name: 'Setup xvfb'
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
name: 'Setup conda'
- shell: bash -el {0}
run: |
./tools/github_actions_dependencies.sh
source tools/get_minimal_commands.sh
name: 'Install dependencies'
- shell: bash -el {0}
run: ./tools/github_actions_install.sh
name: 'Install MNE'
- shell: bash -el {0}
run: ./tools/github_actions_infos.sh
name: 'Show infos'
- shell: bash -el {0}
run: ./tools/github_actions_download.sh
name: 'Download testing data'
- shell: bash -el {0}
run: ./tools/github_actions_locale.sh
name: 'Print locale'
- shell: bash -el {0}
run: ./tools/github_actions_test.sh
name: 'Run tests'
- uses: codecov/codecov-action@v1
if: success()
name: 'Upload coverage to CodeCov'
60 changes: 60 additions & 0 deletions .github/workflows/compat_old.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: 'compat / old'
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
# Old dependencies
job:
if: "github.repository == 'mne-tools/mne-python' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
name: 'py3.6'
runs-on: ubuntu-latest
defaults:
run:
shell: bash
env:
CONDA_DEPENDENCIES: 'numpy=1.15.4 scipy=1.1 matplotlib=3.0.3 pandas=0.23.4 scikit-learn=0.20.2'
DISPLAY: ':99.0'
MNE_LOGGING_LEVEL: 'warning'
OPENBLAS_NUM_THREADS: '1'
PYTHONUNBUFFERED: '1'
PYTHON_VERSION: '3.6'
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: |
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset;
name: 'Setup xvfb'
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
name: 'Setup conda'
- shell: bash -el {0}
run: |
./tools/github_actions_dependencies.sh
source tools/get_minimal_commands.sh
name: 'Install dependencies'
- shell: bash -el {0}
run: ./tools/github_actions_install.sh
name: 'Install MNE'
- shell: bash -el {0}
run: ./tools/github_actions_infos.sh
name: 'Show infos'
- shell: bash -el {0}
run: ./tools/github_actions_download.sh
name: 'Download testing data'
- shell: bash -el {0}
run: ./tools/github_actions_locale.sh
name: 'Print locale'
- shell: bash -el {0}
run: ./tools/github_actions_test.sh
name: 'Run tests'
- uses: codecov/codecov-action@v1
if: success()
name: 'Upload coverage to CodeCov'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Linux'
name: 'linux / conda'
on:
push:
branches:
Expand All @@ -8,20 +8,21 @@ on:
- '*'

jobs:
Conda:
# Linux
job:
if: "github.repository == 'mne-tools/mne-python' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
name: 'py3.8'
runs-on: ubuntu-latest
defaults:
run:
shell: bash
env:
CONDA_ENV: 'environment.yml'
DISPLAY: ':99.0'
PYTHON_VERSION: '3.8'
MNE_LOGGING_LEVEL: 'warning'
OPENBLAS_NUM_THREADS: '1'
PYTHONUNBUFFERED: '1'
CONDA_ENV: 'environment.yml'
TRAVIS_OS_NAME: 'linux'
PYTHON_VERSION: '3.8'
steps:
- uses: actions/checkout@v2
with:
Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/linux_pip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: 'linux / pip'
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'

jobs:
# PIP + non-default stim channel + log level info
job:
if: "github.repository == 'mne-tools/mne-python' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
name: 'py3.8'
runs-on: ubuntu-latest
defaults:
run:
shell: bash
env:
DISPLAY: ':99.0'
MNE_LOGGING_LEVEL: 'info'
MNE_STIM_CHANNEL: 'STI101'
OPENBLAS_NUM_THREADS: '1'
PYTHONUNBUFFERED: '1'
PYTHON_VERSION: '3.8'
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: |
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 libopengl0
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset;
name: 'Setup xvfb'
- uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
name: 'Setup python'
- shell: bash -el {0}
run: |
./tools/github_actions_dependencies.sh
source tools/get_minimal_commands.sh
name: 'Install dependencies'
- shell: bash -el {0}
run: ./tools/github_actions_install.sh
name: 'Install MNE'
- shell: bash -el {0}
run: ./tools/github_actions_infos.sh
name: 'Show infos'
- shell: bash -el {0}
run: ./tools/github_actions_download.sh
name: 'Download testing data'
- shell: bash -el {0}
run: ./tools/github_actions_locale.sh
name: 'Print locale'
- shell: bash -el {0}
run: ./tools/github_actions_test.sh
name: 'Run tests'
- uses: codecov/codecov-action@v1
if: success()
name: 'Upload coverage to CodeCov'
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'MacOS'
name: 'macos / conda'
on:
push:
branches:
Expand All @@ -8,8 +8,9 @@ on:
- '*'

jobs:
Conda:
job:
if: "github.repository == 'mne-tools/mne-python' && !contains(github.event.head_commit.message, '[ci skip]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip github]')"
name: 'py3.8'
runs-on: macos-latest
defaults:
run:
Expand All @@ -20,7 +21,7 @@ jobs:
OPENBLAS_NUM_THREADS: '1'
PYTHONUNBUFFERED: '1'
CONDA_ENV: 'environment.yml'
TRAVIS_OS_NAME: 'osx'
CI_OS_NAME: 'osx'
steps:
- uses: actions/checkout@v2
with:
Expand Down
Loading