mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-25 01:16:55 +08:00
v7.4.3
This commit is contained in:
2
.github/workflows/ApplicationTesting.yml
vendored
2
.github/workflows/ApplicationTesting.yml
vendored
@@ -248,7 +248,7 @@ jobs:
|
|||||||
if: matrix.system != 'msys2'
|
if: matrix.system != 'msys2'
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --disable-pip-version-check -U wheel
|
python -m pip install --disable-pip-version-check -U wheel
|
||||||
python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
|
python -m pip install --disable-pip-version-check ${{ steps.requirements.outputs.requirements }}
|
||||||
|
|
||||||
- name: 🔧 Install pip dependencies (MSYS2)
|
- name: 🔧 Install pip dependencies (MSYS2)
|
||||||
if: matrix.system == 'msys2'
|
if: matrix.system == 'msys2'
|
||||||
|
|||||||
29
.github/workflows/LaTeXDocumentation.yml
vendored
29
.github/workflows/LaTeXDocumentation.yml
vendored
@@ -42,6 +42,11 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
default: 'xelatex'
|
default: 'xelatex'
|
||||||
type: string
|
type: string
|
||||||
|
halt-on-error:
|
||||||
|
description: 'Halt on first error, otherwise continue as long as possible.'
|
||||||
|
required: false
|
||||||
|
default: 'true'
|
||||||
|
type: string
|
||||||
pdf_artifact:
|
pdf_artifact:
|
||||||
description: 'Name of the PDF documentation artifact.'
|
description: 'Name of the PDF documentation artifact.'
|
||||||
required: false
|
required: false
|
||||||
@@ -58,29 +63,27 @@ jobs:
|
|||||||
name: 📓 Converting LaTeX Documentation to PDF
|
name: 📓 Converting LaTeX Documentation to PDF
|
||||||
runs-on: "ubuntu-${{ inputs.ubuntu_image_version }}"
|
runs-on: "ubuntu-${{ inputs.ubuntu_image_version }}"
|
||||||
continue-on-error: ${{ inputs.can-fail == 'true' }}
|
continue-on-error: ${{ inputs.can-fail == 'true' }}
|
||||||
|
container:
|
||||||
|
image: pytooling/miktex:sphinx
|
||||||
|
volumes:
|
||||||
|
- ${{ github.workspace }}/latex:/latex
|
||||||
steps:
|
steps:
|
||||||
- name: 📥 Download artifacts '${{ inputs.latex_artifact }}' from 'SphinxDocumentation' job
|
- name: 📥 Download artifacts '${{ inputs.latex_artifact }}' from 'SphinxDocumentation' job
|
||||||
uses: pyTooling/download-artifact@v7
|
uses: pyTooling/download-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.latex_artifact }}
|
name: ${{ inputs.latex_artifact }}
|
||||||
path: latex
|
path: latex
|
||||||
|
investigate: 'true'
|
||||||
# - name: Debug
|
|
||||||
# run: |
|
|
||||||
# tree -pash .
|
|
||||||
|
|
||||||
- name: Build LaTeX document using 'pytooling/miktex:sphinx'
|
- name: Build LaTeX document using 'pytooling/miktex:sphinx'
|
||||||
uses: addnab/docker-run-action@v3
|
|
||||||
if: inputs.pdf_artifact != ''
|
if: inputs.pdf_artifact != ''
|
||||||
with:
|
run: |
|
||||||
image: pytooling/miktex:sphinx
|
if [[ "${{ inputs.halt-on-error }}" == "true" ]]; then
|
||||||
options: -v ${{ github.workspace }}/latex:/latex --workdir /latex
|
HALT_ON_ERROR="--halt-on-error"
|
||||||
run: |
|
fi
|
||||||
# which ${{ inputs.processor }}
|
|
||||||
# pwd
|
|
||||||
# ls -lAh
|
|
||||||
|
|
||||||
latexmk -${{ inputs.processor }} "${{ inputs.document }}.tex"
|
cd latex
|
||||||
|
latexmk --${{ inputs.processor }} --interaction=nonstopmode -file-line-error -max-print-line=250 ${HALT_ON_ERROR} "${{ inputs.document }}.tex"
|
||||||
|
|
||||||
- name: 📤 Upload 'PDF Documentation' artifact
|
- name: 📤 Upload 'PDF Documentation' artifact
|
||||||
uses: pyTooling/upload-artifact@v6
|
uses: pyTooling/upload-artifact@v6
|
||||||
|
|||||||
@@ -164,12 +164,12 @@ Example Pipelines
|
|||||||
.. code-block:: toml
|
.. code-block:: toml
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["setuptools >= 80.0", "wheel ~= 0.45.0", "pyTooling ~= 8.11"]
|
requires = ["setuptools >= 80.0", "pyTooling ~= 8.12"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
packages = ["myPackage"]
|
packages = ["myPackage"]
|
||||||
python_version = "3.13"
|
python_version = "3.14"
|
||||||
strict = true
|
strict = true
|
||||||
pretty = true
|
pretty = true
|
||||||
show_error_context = true
|
show_error_context = true
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
-r ../requirements.txt
|
-r ../requirements.txt
|
||||||
|
|
||||||
pyTooling ~= 8.11
|
pyTooling ~= 8.12
|
||||||
|
|
||||||
# Enforce latest version on ReadTheDocs
|
# Enforce latest version on ReadTheDocs
|
||||||
sphinx ~= 9.1
|
sphinx ~= 9.1
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ __author__ = "Patrick Lehmann"
|
|||||||
__email__ = "Paebbels@gmail.com"
|
__email__ = "Paebbels@gmail.com"
|
||||||
__copyright__ = "2017-2026, Patrick Lehmann"
|
__copyright__ = "2017-2026, Patrick Lehmann"
|
||||||
__license__ = "Apache License, Version 2.0"
|
__license__ = "Apache License, Version 2.0"
|
||||||
__version__ = "7.4.2"
|
__version__ = "7.4.3"
|
||||||
__keywords__ = ["GitHub Actions"]
|
__keywords__ = ["GitHub Actions"]
|
||||||
__issue_tracker__ = "https://GitHub.com/pyTooling/Actions/issues"
|
__issue_tracker__ = "https://GitHub.com/pyTooling/Actions/issues"
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = [
|
requires = [
|
||||||
"setuptools >= 80.0",
|
"setuptools >= 80.0",
|
||||||
"wheel ~= 0.45.0",
|
"pyTooling ~= 8.12"
|
||||||
"pyTooling ~= 8.11"
|
|
||||||
]
|
]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
@@ -26,7 +25,7 @@ variable-naming-style = "camelCase"
|
|||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
packages = ["myPackage", "myFramework.Extension"]
|
packages = ["myPackage", "myFramework.Extension"]
|
||||||
python_version = "3.13"
|
python_version = "3.14"
|
||||||
strict = true
|
strict = true
|
||||||
pretty = true
|
pretty = true
|
||||||
show_error_context = true
|
show_error_context = true
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
pyTooling ~= 8.11
|
pyTooling ~= 8.12
|
||||||
|
|||||||
Reference in New Issue
Block a user