-
Notifications
You must be signed in to change notification settings - Fork 3
81 lines (73 loc) · 2.27 KB
/
master_warnings.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
name: Master CI Check Warnings
on:
push:
branches:
- master
jobs:
check_warnings:
runs-on: ubuntu-22.04
name: Check for warnings
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Check source
shell: bash
run: |
make SPHINXOPTS="-W --keep-going" html
- name: Check German
if: ${{ success() || failure() }}
shell: bash
run: |
make BUILDDIR=build-de SPHINXOPTS="-Dlanguage=de -W --keep-going" html
- name: Check French
if: ${{ success() || failure() }}
shell: bash
run: |
make BUILDDIR=build-fr SPHINXOPTS="-Dlanguage=fr -W --keep-going" html
- name: Check Japanese
if: ${{ success() || failure() }}
shell: bash
run: |
make BUILDDIR=build-jp SPHINXOPTS="-Dlanguage=jp -W --keep-going" html
- name: Check Spanish
if: ${{ success() || failure() }}
shell: bash
run: |
make BUILDDIR=build-es SPHINXOPTS="-Dlanguage=es -W --keep-going" html
- name: Check Korean
if: ${{ success() || failure() }}
shell: bash
run: |
make BUILDDIR=build-ko SPHINXOPTS="-Dlanguage=ko -W --keep-going" html
- name: Check traditional Chinese
if: ${{ success() || failure() }}
shell: bash
run: |
make BUILDDIR=build-zh_Hant SPHINXOPTS="-Dlanguage=zh_Hant -W --keep-going" html
- name: Check Czech
if: ${{ success() || failure() }}
shell: bash
run: |
make BUILDDIR=build-cs SPHINXOPTS="-Dlanguage=cs -W --keep-going" html
- name: Check Lithuanian
if: ${{ success() || failure() }}
shell: bash
run: |
make BUILDDIR=build-lt SPHINXOPTS="-Dlanguage=lt -W --keep-going" html
- name: Check Portuguese
if: ${{ success() || failure() }}
shell: bash
run: |
make BUILDDIR=build-pt SPHINXOPTS="-Dlanguage=pt -W --keep-going" html
- name: Check Russian
if: ${{ success() || failure() }}
shell: bash
run: |
make BUILDDIR=build-ru SPHINXOPTS="-Dlanguage=ru -W --keep-going" html