Skip to content

Commit 3fb351f

Browse files
authored
Modify test-build workflow for multiple Python versions
Updated the workflow to support Python versions 3.14 and 3.15, changed language from 'XX' to 'de', and added installation step for rsvg-convert.
1 parent 0d2936b commit 3fb351f

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/test-build.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Test Build Workflow
2-
2+
# changed to 3.14, 3.15
33
on:
44
schedule:
55
- cron: '0 0 * * *'
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
version: [ '3.14' ]
17+
version: [ '3.15', '3.14' ]
1818
format: [ html, latex ]
1919
steps:
2020
- uses: actions/setup-python@master
@@ -26,14 +26,16 @@ jobs:
2626
ref: ${{ matrix.version }}
2727
- run: make venv
2828
working-directory: ./Doc
29+
- name: Install rsvg-convert
30+
run: sudo apt-get update && sudo apt-get install -y librsvg2-bin
2931
- uses: actions/checkout@master
3032
with:
3133
ref: ${{ matrix.version }}
32-
path: Doc/locales/XX/LC_MESSAGES
34+
path: Doc/locales/de/LC_MESSAGES
3335
- run: git pull
34-
working-directory: ./Doc/locales/XX/LC_MESSAGES
36+
working-directory: ./Doc/locales/de/LC_MESSAGES
3537
- uses: sphinx-doc/github-problem-matcher@v1.1
36-
- run: make -e SPHINXOPTS="--color -D language='XX' -W --keep-going" ${{ matrix.format }}
38+
- run: make -e SPHINXOPTS="--color -D language='de' -D suppress_warnings=i18n.inconsistent_references -W --keep-going" ${{ matrix.format }}
3739
working-directory: ./Doc
3840
- uses: actions/upload-artifact@master
3941
if: success() || failure()
@@ -45,7 +47,7 @@ jobs:
4547
runs-on: ubuntu-latest
4648
strategy:
4749
matrix:
48-
version: [ '3.14' ]
50+
version: [ '3.15', '3.14' ]
4951
needs: [ 'build-translation' ]
5052
steps:
5153
- uses: actions/download-artifact@master

0 commit comments

Comments
 (0)