-
Notifications
You must be signed in to change notification settings - Fork 191
40 lines (38 loc) · 1.18 KB
/
installation-tips-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Creates Conda Install for Installation Tips
on:
workflow_dispatch:
schedule:
- cron: "0 12 * * 0" # Weekly at noon UTC on Sundays
jobs:
installation-tips-testing:
name: Build Conda Env on ${{ matrix.os }} OS
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -el {0}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
label: linux_dandi
- os: macos-latest
label: mac
- os: windows-latest
label: windows
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Test Conda Environment Creation
uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
environment-file: ./installation_tips/full_spikeinterface_environment_${{ matrix.label }}.yml
activate-environment: si_env
- name: Check Installation Tips
run: python ./installation_tips/check_your_install.py --ci # ci flag turns off gui
- name: Windows cleanup
if: ${{ matrix.label == 'windows' }}
run: python ./installation_tips/cleanup_for_windows.py