-
-
Notifications
You must be signed in to change notification settings - Fork 211
43 lines (36 loc) · 898 Bytes
/
Copy pathtest_mac.yml
File metadata and controls
43 lines (36 loc) · 898 Bytes
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
41
42
43
name: MacOS
on:
push:
branches:
- main
- release
pull_request:
branches:
- main
- release
jobs:
testMac:
runs-on: macos-latest
steps:
- name: Checkout Source
uses: actions/checkout@v5
- name: Install System Packages
run: |
brew install enchant
- name: Install UV and Python
uses: astral-sh/setup-uv@v6
with:
python-version: "3.13"
- name: Sync UV
run: |
uv sync --no-dev --group test --group macos
- name: Run Tests
run: |
export QT_QPA_PLATFORM=offscreen
uv run --no-sync coverage run -m pytest -v --timeout=60
uv run --no-sync coverage xml
- name: Upload to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true