@@ -15,26 +15,26 @@ jobs:
1515 with :
1616 submodules : ' true'
1717 fetch-depth : 2
18- - name : Preparar Python v3.11
19- uses : actions/setup-python@v4
20- with :
21- python-version : " 3.11"
22- cache : " pip"
23- - name : Configura dpkg/apt para correr de manera eficiente
24- uses : abbbi/github-actions-tune@v1
25- - name : Deshabilita triggers de postgresql-common
26- run : sudo sed -i '/postgresql-common/d' /var/lib/dpkg/triggers/File
27- - name : Instalar dependencias de sistema
28- run : |
29- sudo apt-get install -y hunspell hunspell-es gettext language-pack-es locales-all
30- - name : Instalar dependencias de Python
31- run : |
32- python -m pip install -r requirements.txt
33- - name : Listar paquetes y versiones
34- run : |
35- pip list
36- pospell --version
37- powrap --version
18+ # - name: Preparar Python v3.11
19+ # uses: actions/setup-python@v4
20+ # with:
21+ # python-version: "3.11"
22+ # cache: "pip"
23+ # - name: Configura dpkg/apt para correr de manera eficiente
24+ # uses: abbbi/github-actions-tune@v1
25+ # - name: Deshabilita triggers de postgresql-common
26+ # run: sudo sed -i '/postgresql-common/d' /var/lib/dpkg/triggers/File
27+ # - name: Instalar dependencias de sistema
28+ # run: |
29+ # sudo apt-get install -y hunspell hunspell-es gettext language-pack-es locales-all
30+ # - name: Instalar dependencias de Python
31+ # run: |
32+ # python -m pip install -r requirements.txt
33+ # - name: Listar paquetes y versiones
34+ # run: |
35+ # pip list
36+ # pospell --version
37+ # powrap --version
3838 - name : Obtiene la lista de archivos .po con cambios (sólo en PRs)
3939 if : github.event_name == 'pull_request'
4040 id : changed-po-files
@@ -48,30 +48,30 @@ jobs:
4848 PO_FILES_TO_CHECK : ${{ github.event_name == 'pull_request' && steps.changed-po-files.outputs.all_changed_files || '**/*.po' }}
4949 run : |
5050 echo "po_files_to_check=$PO_FILES_TO_CHECK" >> $GITHUB_OUTPUT
51- echo "any_po_files_to_check=`test -n i\"$PO_FILES_TO_CHECK\" && true || false" >> $GITHUB_OUTPUT
51+ echo "any_po_files_to_check=`test -n i\"$PO_FILES_TO_CHECK\" && true || false` " >> $GITHUB_OUTPUT
5252 - name : Lista los archivos .po con cambios
5353 run : echo "Archivo(s) .po con cambios:" ${{ steps.po-files-to-check.outputs.po_files_to_check }}
54- - name : TRANSLATORS
55- run : |
56- diff -Naur TRANSLATORS <(LANG=es python scripts/sort.py < TRANSLATORS)
57- - name : Powrap
58- run : powrap --check --quiet **/*.po
59- - name : Sphinx lint
60- run : |
61- sphinx-lint */*.po
62- - name : Pospell
63- if : steps.po-files-to-check.outputs.any_po_files_to_check == 'true'
64- run : |
65- python scripts/check_spell.py ${{ steps.po-files-to-check.outputs.po_files_to_check }}
66- - name : Construir documentación
67- run : |
68- # FIXME: Relative paths for includes in 'cpython'
69- sed -i -e 's|.. include:: ../includes/wasm-notavail.rst|.. include:: ../../../../includes/wasm-notavail.rst|g' cpython/Doc/**/*.rst
70- sed -i -e 's|.. include:: ../distutils/_setuptools_disclaimer.rst|.. include:: ../../../../distutils/_setuptools_disclaimer.rst|g' cpython/Doc/**/*.rst
71- sed -i -e 's|.. include:: ./_setuptools_disclaimer.rst|.. include:: ../../../_setuptools_disclaimer.rst|g' cpython/Doc/**/*.rst
72- sed -i -e 's|.. include:: token-list.inc|.. include:: ../../../token-list.inc|g' cpython/Doc/**/*.rst
73- sed -i -e 's|.. include:: ../../using/venv-create.inc|.. include:: ../using/venv-create.inc|g' cpython/Doc/**/*.rst
74- sed -i -e 's|.. include:: ../../../using/venv-create.inc|.. include:: ../../using/venv-create.inc|g' cpython/Doc/**/*.rst
75- sed -i -e 's|.. include:: /using/venv-create.inc|.. include:: ../../../../using/venv-create.inc|g' cpython/Doc/**/*.rst
76- # Normal build
77- PYTHONWARNINGS=ignore::FutureWarning,ignore::RuntimeWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
54+ # - name: TRANSLATORS
55+ # run: |
56+ # diff -Naur TRANSLATORS <(LANG=es python scripts/sort.py < TRANSLATORS)
57+ # - name: Powrap
58+ # run: powrap --check --quiet **/*.po
59+ # - name: Sphinx lint
60+ # run: |
61+ # sphinx-lint */*.po
62+ # - name: Pospell
63+ # if: steps.po-files-to-check.outputs.any_po_files_to_check == 'true'
64+ # run: |
65+ # python scripts/check_spell.py ${{ steps.po-files-to-check.outputs.po_files_to_check }}
66+ # - name: Construir documentación
67+ # run: |
68+ # # FIXME: Relative paths for includes in 'cpython'
69+ # sed -i -e 's|.. include:: ../includes/wasm-notavail.rst|.. include:: ../../../../includes/wasm-notavail.rst|g' cpython/Doc/**/*.rst
70+ # sed -i -e 's|.. include:: ../distutils/_setuptools_disclaimer.rst|.. include:: ../../../../distutils/_setuptools_disclaimer.rst|g' cpython/Doc/**/*.rst
71+ # sed -i -e 's|.. include:: ./_setuptools_disclaimer.rst|.. include:: ../../../_setuptools_disclaimer.rst|g' cpython/Doc/**/*.rst
72+ # sed -i -e 's|.. include:: token-list.inc|.. include:: ../../../token-list.inc|g' cpython/Doc/**/*.rst
73+ # sed -i -e 's|.. include:: ../../using/venv-create.inc|.. include:: ../using/venv-create.inc|g' cpython/Doc/**/*.rst
74+ # sed -i -e 's|.. include:: ../../../using/venv-create.inc|.. include:: ../../using/venv-create.inc|g' cpython/Doc/**/*.rst
75+ # sed -i -e 's|.. include:: /using/venv-create.inc|.. include:: ../../../../using/venv-create.inc|g' cpython/Doc/**/*.rst
76+ # # Normal build
77+ # PYTHONWARNINGS=ignore::FutureWarning,ignore::RuntimeWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
0 commit comments