8
8
workflow_dispatch :
9
9
10
10
jobs :
11
+
11
12
update-translation :
12
13
runs-on : ubuntu-latest
13
14
strategy :
21
22
- uses : actions/setup-python@master
22
23
with :
23
24
python-version : 3
24
- - run : sudo apt-get install -y gettext
25
25
- run : curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
26
26
working-directory : /usr/local/bin
27
27
- run : pip install requests cogapp polib transifex-python sphinx-lint sphinx-intl blurb six
@@ -42,22 +42,34 @@ jobs:
42
42
with :
43
43
branch : ${{ matrix.version }}
44
44
github_token : ${{ secrets.GITHUB_TOKEN }}
45
- - uses : peter-evans/repository-dispatch@main
45
+
46
+ lint-translation :
47
+ runs-on : ubuntu-latest
48
+ strategy :
49
+ fail-fast : false
50
+ matrix :
51
+ version : ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
52
+ needs : [ 'update-translation' ]
53
+ continue-on-error : true
54
+ steps :
55
+ - uses : actions/setup-python@master
46
56
with :
47
57
python-version : 3
58
+ - run : pip install sphinx-lint
48
59
- uses : actions/checkout@master
49
60
with :
50
61
ref : ${{ matrix.version }}
51
62
- uses : rffontenelle/sphinx-lint-problem-matcher@v1.0.0
52
63
- run : sphinx-lint
64
+
53
65
build-translation :
54
66
runs-on : ubuntu-latest
55
67
strategy :
56
68
fail-fast : false
57
69
matrix :
58
70
version : ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
59
71
format : [html, latex]
60
- needs : ['update -translation']
72
+ needs : ['lint -translation']
61
73
steps :
62
74
- uses : actions/setup-python@master
63
75
with :
81
93
with :
82
94
name : build-${{ matrix.version }}-${{ matrix.format }}
83
95
path : Doc/build/${{ matrix.format }}
96
+
84
97
output-pdf :
85
98
runs-on : ubuntu-latest
86
99
strategy :
0 commit comments