Checks uv installation from Installation Tips #121
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Checks uv installation from Installation Tips | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 12 * * 0" # Weekly at noon UTC on Sundays | |
| env: | |
| UV_SYSTEM_PYTHON: 1 | |
| 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@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install requirements | |
| run: uv pip install -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 |