-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (43 loc) · 1.29 KB
/
Copy pathtests.yml
File metadata and controls
51 lines (43 loc) · 1.29 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
41
42
43
44
45
46
47
48
49
50
51
name: Tests
on:
push:
pull_request:
env:
UV_PYTHON_PREFERENCE: only-system
UV_NO_SYNC: 1
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
sphinx-version: [ "8.1", "8.2", "9.0", "9.1" ]
exclude:
- python-version: "3.10"
sphinx-version: "8.2"
- python-version: "3.10"
sphinx-version: "9.0"
- python-version: "3.10"
sphinx-version: "9.1"
- python-version: "3.11"
sphinx-version: "9.1"
name: Python ${{ matrix.python-version }}, Sphinx ${{ matrix.sphinx-version }}
steps:
- name: Acquire sources
uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5.5.0
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install uv
uses: astral-sh/setup-uv@v5.3.1
with:
enable-cache: true
- name: Install dependencies
run: uv sync --no-default-groups --group=dev --group Sphinx${{ matrix.sphinx-version }}
- name: Run tests
run: uv run pytest -v --cov-report term-missing --durations=20