Skip to content

Commit 8a7138f

Browse files
committed
Updated GitHub Actions for testing on MacOS using uv.
1 parent ea1805c commit 8a7138f

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/pytest-macos.yaml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,19 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [macos-latest]
15-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.12']
15+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.12', '3.13']
1616
name: Test BusyLight For Humans ${{ matrix.python-version }} on MacOS
1717
steps:
18-
- uses: actions/checkout@v3
19-
- name: Setup Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v4
18+
- uses: actions/checkout@v4
19+
- name: Install uv and set the Python version.
20+
uses: astral-sh/setup-uv@5
2121
with:
22+
version: "0.7.5"
2223
python-version: ${{ matrix.python-version }}
23-
- name: Install pip/poetry/pytest
24+
- name: Create venv and install package & deps.
2425
run: |
25-
python -m pip install --upgrade pip
26-
pip install poetry pytest
27-
- name: Install Busylight-For-Humans with WebAPI
28-
run: |
29-
poetry install -E webapi
26+
uv venv
27+
uv sync --all-extras
3028
- name: Test with pytest
3129
run: |
32-
poetry run pytest
30+
uv run pytest

0 commit comments

Comments
 (0)