Skip to content

Commit 818b288

Browse files
Merge branch 'main' into dependabot/github_actions/actions/checkout-5
2 parents 88210a6 + 5396b46 commit 818b288

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.github/workflows/test_pipeline.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,32 @@ on:
77
pull_request:
88
branches:
99
- main
10+
schedule:
11+
- cron: '0 0 * * *' # Runs at Midnight UTC every day
1012

1113
jobs:
1214
test:
1315
runs-on: ${{ matrix.os }}
1416

1517
strategy:
18+
fail-fast: false
1619
matrix:
1720
os:
1821
- ubuntu-latest
1922
- macos-latest # arm64 (Apple Silicon)
20-
- macos-13 # latest Intel release
23+
- macos-14 # MacOS Sonoma Arm64 (Apple Silicon)
2124
- windows-latest
2225

2326
steps:
2427
- uses: actions/checkout@v5
25-
- name: Set up Python 3.9
28+
- name: Set up Python 3.10
2629
uses: actions/setup-python@v6
2730
with:
28-
python-version: "3.9"
29-
- name: Force numpy < 2 on MacOS Intel
30-
if: matrix.os == 'macos-13'
31-
run: pip install 'numpy<2'
31+
python-version: "3.10"
3232
- name: Install Pylossless & Deps
33-
run: pip install -e .
33+
run: |
34+
pip install -e .
35+
pip install onnxruntime # Needed for MNE-ICALabel
3436
- name: Test import
3537
run: |
3638
python -c "import pylossless"

pylossless/tests/test_pipeline.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ def test_pipeline_run(pipeline_fixture):
2828
@pytest.mark.filterwarnings("ignore:Converting data files to EDF format")
2929
@pytest.mark.filterwarnings("ignore:The provided Epochs instance is not"
3030
" filtered between 1 and 100 Hz.")
31+
@pytest.mark.filterwarnings(
32+
"ignore:FastICA did not converge:sklearn.exceptions.ConvergenceWarning"
33+
)
3134
def test_pipeline_save(bids_dataset_fixture):
3235
"""Test running the pipeline."""
3336
config = ll.config.Config()

0 commit comments

Comments
 (0)