-
Notifications
You must be signed in to change notification settings - Fork 14
105 lines (92 loc) · 3.04 KB
/
python-app.yml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Tests
on:
push:
pull_request:
jobs:
build-sphinx-80plus:
name: Build
strategy:
fail-fast: false
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
sphinx-version: [
"8.0.*", "8.*" # 8.0.x and latest
]
uses: ./.github/workflows/build.yml
with:
python-version: ${{ matrix.python-version }}
extra-requirements: '\
"sphinx==${{ matrix.sphinx-version }}"'
build-legacy-sphinx-45plus:
name: Build
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
sphinx-version: [
"7.0.*", # possible range: 7.0.0 - 7.4.7
"6.0.*", # possible range: 6.0.0 - 6.2.1
"5.0.*", # possible range: 5.0.0 - 5.3.0
"4.5.*" # possible range: 4.5.0, also latest that supports py3.8
]
include:
- python-version: "3.9"
sphinx-version: "7.2.*" # latest version that supports py3.9
uses: ./.github/workflows/build.yml
with:
python-version: ${{ matrix.python-version }}
extra-requirements: '\
"sphinx==${{ matrix.sphinx-version }}"
"sphinxcontrib-applehelp<1.0.8"
"sphinxcontrib-devhelp<1.0.6"
"sphinxcontrib-htmlhelp<2.0.5"
"sphinxcontrib-jsmath<1.0.1"
"sphinxcontrib-qthelp<1.0.7"
"sphinxcontrib-serializinghtml<1.1.10"'
build-legacy-sphinx-40plus:
name: Build
strategy:
fail-fast: false
matrix:
python-version: [ "3.8", "3.9" ]
sphinx-version: [
"4.0.*" # possible range: 4.0.0 - 4.4.0
]
uses: ./.github/workflows/build.yml
with:
python-version: ${{ matrix.python-version }}
extra-requirements: '\
"sphinx==${{ matrix.sphinx-version }}"
"sphinxcontrib-applehelp<1.0.8"
"sphinxcontrib-devhelp<1.0.6"
"sphinxcontrib-htmlhelp<2.0.5"
"sphinxcontrib-jsmath<1.0.1"
"sphinxcontrib-qthelp<1.0.7"
"sphinxcontrib-serializinghtml<1.1.10"'
build-legacy-sphinx-30plus:
name: Build
strategy:
fail-fast: false
matrix:
python-version: [ "3.7", "3.8", "3.9" ]
sphinx-version: [
"3.0.*", # possible range: 3.0.0 - 3.5.4
]
include:
- python-version: "3.7"
sphinx-version: "3.5.*" # latest version that supports py3.7
uses: ./.github/workflows/build.yml
with:
python-version: ${{ matrix.python-version }}
extra-requirements: '\
"sphinx==${{ matrix.sphinx-version }}"
"jinja2<3.1"
"alabaster<0.7.14"
"sphinxcontrib-applehelp<1.0.8"
"sphinxcontrib-devhelp<1.0.6"
"sphinxcontrib-htmlhelp<2.0.5"
"sphinxcontrib-jsmath<1.0.1"
"sphinxcontrib-qthelp<1.0.7"
"sphinxcontrib-serializinghtml<1.1.10"'