-
Notifications
You must be signed in to change notification settings - Fork 261
40 lines (37 loc) · 1.3 KB
/
installation-tips-test.yml
File metadata and controls
40 lines (37 loc) · 1.3 KB
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: Checks uv installation from Installation Tips
on:
workflow_dispatch:
schedule:
- cron: "0 12 * * 0" # Weekly at noon UTC on Sundays
jobs:
installation-tips-testing:
name: Test uv installation on ${{ matrix.os }} OS
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: macos-latest
- os: windows-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: '3.12'
enable-cache: true
- name: Install requirements
run: uv pip install --system -r ./installation_tips/beginner_requirements_stable.txt
- name: Check Installation Tips (mac)
if: ${{ matrix.os == 'macos-latest' }}
run: python ./installation_tips/check_your_install.py --ci --short --skip-kilosort4 # ci flag turns off gui
- name: Check Installation Tips (linux/windows)
if: ${{ matrix.os != 'macos-latest' }}
run: python ./installation_tips/check_your_install.py --ci --short # ci flag turns off gui
- name: Windows cleanup
if: ${{ matrix.os == 'windows-latest' }}
run: python ./installation_tips/cleanup_for_windows.py