Debian Codegraph @

.github/workflows/python-app.yml

raw
1 # This workflow will install Python dependencies, run tests and lint with a single version of Python
2 # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
4 name: Tests
5
6 on:
7 push:
8 pull_request:
9
10 jobs:
11
12 build-sphinx-80plus:
13 name: Build
14 strategy:
15 fail-fast: false
16 matrix:
17 python-version: [ "3.10", "3.11", "3.12" ]
18 sphinx-version: [
19 "8.0.*", "8.*" # 8.0.x and latest
20 ]
21 uses: ./.github/workflows/build.yml
22 with:
23 python-version: ${{ matrix.python-version }}
24 extra-requirements: '\
25 "sphinx==${{ matrix.sphinx-version }}"'
26
27
28 build-legacy-sphinx-45plus:
29 name: Build
30
31 strategy:
32 fail-fast: false
33 matrix:
34 python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
35 sphinx-version: [
36 "7.0.*", # possible range: 7.0.0 - 7.4.7
37 "6.0.*", # possible range: 6.0.0 - 6.2.1
38 "5.0.*", # possible range: 5.0.0 - 5.3.0
39 "4.5.*" # possible range: 4.5.0, also latest that supports py3.8
40 ]
41 include:
42 - python-version: "3.9"
43 sphinx-version: "7.2.*" # latest version that supports py3.9
44 uses: ./.github/workflows/build.yml
45 with:
46 python-version: ${{ matrix.python-version }}
47 extra-requirements: '\
48 "sphinx==${{ matrix.sphinx-version }}"
49 "sphinxcontrib-applehelp<1.0.8"
50 "sphinxcontrib-devhelp<1.0.6"
51 "sphinxcontrib-htmlhelp<2.0.5"
52 "sphinxcontrib-jsmath<1.0.1"
53 "sphinxcontrib-qthelp<1.0.7"
54 "sphinxcontrib-serializinghtml<1.1.10"'
55
56
57 build-legacy-sphinx-40plus:
58 name: Build
59
60 strategy:
61 fail-fast: false
62 matrix:
63 python-version: [ "3.8", "3.9" ]
64 sphinx-version: [
65 "4.0.*" # possible range: 4.0.0 - 4.4.0
66 ]
67 uses: ./.github/workflows/build.yml
68 with:
69 python-version: ${{ matrix.python-version }}
70 extra-requirements: '\
71 "sphinx==${{ matrix.sphinx-version }}"
72 "sphinxcontrib-applehelp<1.0.8"
73 "sphinxcontrib-devhelp<1.0.6"
74 "sphinxcontrib-htmlhelp<2.0.5"
75 "sphinxcontrib-jsmath<1.0.1"
76 "sphinxcontrib-qthelp<1.0.7"
77 "sphinxcontrib-serializinghtml<1.1.10"'