MacOS #57
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: MacOS | |
| on: | |
| push: | |
| tags: | |
| - "*" | |
| workflow_dispatch: | |
| jobs: | |
| test-on-macos: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos-latest] | |
| python-version: ['3.9', '3.10', '3.11', '3.12', '3.12', '3.13'] | |
| name: Test BusyLight For Humans ${{ matrix.python-version }} on MacOS | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv and set the Python version. | |
| uses: astral-sh/setup-uv@5 | |
| with: | |
| version: "0.7.5" | |
| python-version: ${{ matrix.python-version }} | |
| - name: Create venv and install package & deps. | |
| run: | | |
| uv venv | |
| uv sync --all-extras | |
| - name: Test with pytest | |
| run: | | |
| uv run pytest |