Skip to content

Commit 25be94e

Browse files
committed
Skip KS4 on mac
1 parent 19e6258 commit 25be94e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/installation-tips-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ jobs:
2929

3030
- name: Install requirements
3131
run: uv pip install -r ./installation_tips/beginner_requirements_stable.txt
32-
- name: Check Installation Tips
32+
- name: Check Installation Tips (mac)
33+
if: ${{ matrix.os == 'macos-latest' }}
34+
run: python ./installation_tips/check_your_install.py --ci --short --skip-kilosort4 # ci flag turns off gui
35+
- name: Check Installation Tips (linux/windows)
36+
if: ${{ matrix.os != 'macos-latest' }}
3337
run: python ./installation_tips/check_your_install.py --ci --short # ci flag turns off gui
3438
- name: Windows cleanup
3539
if: ${{ matrix.os == 'windows-latest' }}

installation_tips/check_your_install.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def _clean():
9191
# end user can ignore
9292
parser.add_argument("--ci", action="store_false")
9393
parser.add_argument("--short", action="store_false")
94+
parser.add_argument("--skip-kilosort4", action="store_true")
9495

9596

9697
if __name__ == "__main__":
@@ -104,8 +105,9 @@ def _clean():
104105
("Import spikeinterface", check_import_si),
105106
("Import spikeinterface.full", check_import_si_full),
106107
("Run tridesclous2", run_tridesclous2),
107-
("Run kilosort4", run_kilosort4),
108108
]
109+
if not args.skip_kilosort4:
110+
steps.append(("Run kilosort4", run_kilosort4))
109111

110112
# backwards logic because default is True for end-user
111113
if args.ci:

0 commit comments

Comments
 (0)