mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-17 05:26:56 +08:00
Compare commits
48 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2658aeb896 | ||
|
|
7d9dc6d312 | ||
|
|
b49cd82b47 | ||
|
|
c2282e4d63 | ||
|
|
25c007b491 | ||
|
|
ec73d6bc41 | ||
|
|
fb36154250 | ||
|
|
2eebeec719 | ||
|
|
ae8a961e93 | ||
|
|
9e6bbd52a6 | ||
|
|
c08a164b9e | ||
|
|
d6342484cd | ||
|
|
4b0b103c5f | ||
|
|
d48de1d02d | ||
|
|
2307b526df | ||
|
|
2ee14e88a2 | ||
|
|
33edd82e6f | ||
|
|
42e17fae05 | ||
|
|
c81d139080 | ||
|
|
78fdb584aa | ||
|
|
679ec24c80 | ||
|
|
b1e4cb961f | ||
|
|
5d8a608893 | ||
|
|
9ceefdbf5d | ||
|
|
fdee9e011f | ||
|
|
9e0b1c69f1 | ||
|
|
9338fbd106 | ||
|
|
bef77effcb | ||
|
|
e7e95b446d | ||
|
|
bf6ba9ba19 | ||
|
|
5dc19a5d65 | ||
|
|
188feb556b | ||
|
|
d58db55086 | ||
|
|
ee9a3fbdcd | ||
|
|
8dfc484c42 | ||
|
|
960b7089e7 | ||
|
|
706ef39595 | ||
|
|
04881fc4ca | ||
|
|
0495bfb18c | ||
|
|
7879c05ab7 | ||
|
|
e9d0dc3dba | ||
|
|
ae32d20719 | ||
|
|
87fa2b693a | ||
|
|
6d039bba90 | ||
|
|
3b95a36955 | ||
|
|
583eed8c84 | ||
|
|
60281e01e2 | ||
|
|
66572dca45 |
59
.github/workflows/ApplicationTesting.yml
vendored
59
.github/workflows/ApplicationTesting.yml
vendored
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -37,7 +37,7 @@ on:
|
|||||||
requirements:
|
requirements:
|
||||||
description: 'Python dependencies to be installed through pip.'
|
description: 'Python dependencies to be installed through pip.'
|
||||||
required: false
|
required: false
|
||||||
default: '-r ./requirements.txt'
|
default: '-r tests/requirements.txt'
|
||||||
type: string
|
type: string
|
||||||
pacboy:
|
pacboy:
|
||||||
description: 'MSYS2 dependencies to be installed through pacboy (pacman).'
|
description: 'MSYS2 dependencies to be installed through pacboy (pacman).'
|
||||||
@@ -94,39 +94,6 @@ jobs:
|
|||||||
name: ${{ inputs.wheel }}
|
name: ${{ inputs.wheel }}
|
||||||
path: install
|
path: install
|
||||||
|
|
||||||
# TODO: extract step to an Action so package, so code can be shared with UnitTesting.yml
|
|
||||||
- name: Compute path to requirements file
|
|
||||||
id: requirements
|
|
||||||
shell: python
|
|
||||||
run: |
|
|
||||||
from os import getenv
|
|
||||||
from pathlib import Path
|
|
||||||
from sys import version
|
|
||||||
|
|
||||||
print(f"Python: {version}")
|
|
||||||
|
|
||||||
requirements = "${{ inputs.requirements }}"
|
|
||||||
if requirements.startswith("-r"):
|
|
||||||
requirements = requirements[2:].lstrip()
|
|
||||||
if requirements.startswith("./"):
|
|
||||||
requirementsFile = Path("${{ inputs.root_directory || '.' }}") / Path("${{ inputs.tests_directory || '.' }}") / Path("${{ inputs.apptest_directory || '.' }}") / Path(requirements[2:])
|
|
||||||
else:
|
|
||||||
requirementsFile = Path(requirements)
|
|
||||||
|
|
||||||
if not requirementsFile.exists():
|
|
||||||
print(f"::error title=FileNotFoundError::{requirementsFile}")
|
|
||||||
exit(1)
|
|
||||||
|
|
||||||
print(f"requirements file: {requirementsFile.as_posix()}")
|
|
||||||
|
|
||||||
# Write requirements path to special file
|
|
||||||
github_output = Path(getenv("GITHUB_OUTPUT"))
|
|
||||||
print(f"GITHUB_OUTPUT: {github_output}")
|
|
||||||
with github_output.open("a+") as f:
|
|
||||||
f.write(f"requirements=-r {requirementsFile.as_posix()}\n")
|
|
||||||
else:
|
|
||||||
print(f"requirements list: {requirements}")
|
|
||||||
|
|
||||||
# TODO: extract step to an Action so package lists are shared with UnitTesting (and GHDL?)
|
# TODO: extract step to an Action so package lists are shared with UnitTesting (and GHDL?)
|
||||||
- name: Compute pacman/pacboy packages
|
- name: Compute pacman/pacboy packages
|
||||||
id: pacboy
|
id: pacboy
|
||||||
@@ -155,7 +122,7 @@ jobs:
|
|||||||
|
|
||||||
return requirements
|
return requirements
|
||||||
|
|
||||||
requirements = "${{ steps.requirements.outputs.requirements }}"
|
requirements = "${{ inputs.requirements }}"
|
||||||
if requirements.startswith("-r"):
|
if requirements.startswith("-r"):
|
||||||
requirementsFile = Path(requirements[2:].lstrip())
|
requirementsFile = Path(requirements[2:].lstrip())
|
||||||
try:
|
try:
|
||||||
@@ -167,19 +134,18 @@ jobs:
|
|||||||
dependencies = [req.strip() for req in requirements.split(" ")]
|
dependencies = [req.strip() for req in requirements.split(" ")]
|
||||||
|
|
||||||
packages = {
|
packages = {
|
||||||
"aiohttp": "python-aiohttp:p",
|
|
||||||
"coverage": "python-coverage:p",
|
"coverage": "python-coverage:p",
|
||||||
"docstr_coverage": "python-pyaml:p python-types-pyyaml:p",
|
"docstr_coverage": "python-pyyaml:p python-types-pyyaml:p",
|
||||||
"igraph": "igraph:p",
|
"igraph": "igraph:p",
|
||||||
"jinja2": "python-markupsafe:p",
|
"jinja2": "python-markupsafe:p",
|
||||||
"lxml": "python-lxml:p",
|
"lxml": "python-lxml:p",
|
||||||
"numpy": "python-numpy:p",
|
"numpy": "python-numpy:p",
|
||||||
"markupsafe": "python-markupsafe:p",
|
"markupsafe": "python-markupsafe:p",
|
||||||
"pip": "python-pip:p",
|
"pip": "python-pip:p",
|
||||||
"pyyaml": "python-pyaml:p python-types-pyyaml:p",
|
"pyyaml": "python-pyyaml:p python-types-pyyaml:p",
|
||||||
"ruamel.yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
|
"ruamel.yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
|
||||||
"sphinx": "python-markupsafe:p",
|
"sphinx": "python-markupsafe:p",
|
||||||
"tomli": "python-tomli:p", # outdated, now part of Python as tomllib
|
"tomli": "python-tomli:p",
|
||||||
"wheel": "python-wheel:p",
|
"wheel": "python-wheel:p",
|
||||||
"pyEDAA.ProjectModel": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p",
|
"pyEDAA.ProjectModel": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p",
|
||||||
"pyEDAA.Reports": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p",
|
"pyEDAA.Reports": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p",
|
||||||
@@ -188,7 +154,6 @@ jobs:
|
|||||||
subPackages = {
|
subPackages = {
|
||||||
"pytooling": {
|
"pytooling": {
|
||||||
"yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
|
"yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
|
||||||
"pypi": "python-aiohttp:p",
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -224,8 +189,6 @@ jobs:
|
|||||||
with github_output.open("a+") as f:
|
with github_output.open("a+") as f:
|
||||||
f.write(f"pacboy_packages={' '.join(pacboyPackages)}\n")
|
f.write(f"pacboy_packages={' '.join(pacboyPackages)}\n")
|
||||||
|
|
||||||
# Python setup
|
|
||||||
|
|
||||||
- name: '🟦 Setup MSYS2 for ${{ matrix.runtime }}'
|
- name: '🟦 Setup MSYS2 for ${{ matrix.runtime }}'
|
||||||
uses: msys2/setup-msys2@v2
|
uses: msys2/setup-msys2@v2
|
||||||
if: matrix.system == 'msys2'
|
if: matrix.system == 'msys2'
|
||||||
@@ -242,13 +205,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
|
|
||||||
# Python Dependency steps
|
|
||||||
|
|
||||||
- name: 🔧 Install wheel and pip dependencies (native)
|
- name: 🔧 Install wheel and pip dependencies (native)
|
||||||
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 ${{ steps.requirements.outputs.requirements }}
|
python -m pip install --disable-pip-version-check ${{ inputs.requirements }}
|
||||||
|
|
||||||
- name: 🔧 Install pip dependencies (MSYS2)
|
- name: 🔧 Install pip dependencies (MSYS2)
|
||||||
if: matrix.system == 'msys2'
|
if: matrix.system == 'msys2'
|
||||||
@@ -259,8 +220,6 @@ jobs:
|
|||||||
python -m pip install --disable-pip-version-check --break-system-packages ${{ inputs.requirements }}
|
python -m pip install --disable-pip-version-check --break-system-packages ${{ inputs.requirements }}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# TODO: Before scripts?
|
|
||||||
|
|
||||||
- name: 🔧 Install wheel from artifact (Ubuntu/macOS)
|
- name: 🔧 Install wheel from artifact (Ubuntu/macOS)
|
||||||
if: ( matrix.system != 'windows' && matrix.system != 'windows-arm' )
|
if: ( matrix.system != 'windows' && matrix.system != 'windows-arm' )
|
||||||
run: |
|
run: |
|
||||||
@@ -271,8 +230,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install -v --disable-pip-version-check (Get-Item .\install\*.whl).FullName
|
python -m pip install -v --disable-pip-version-check (Get-Item .\install\*.whl).FullName
|
||||||
|
|
||||||
# Run pytests
|
|
||||||
|
|
||||||
- name: ✅ Run application tests (Ubuntu/macOS)
|
- name: ✅ Run application tests (Ubuntu/macOS)
|
||||||
if: ( matrix.system != 'windows' && matrix.system != 'windows-arm' )
|
if: ( matrix.system != 'windows' && matrix.system != 'windows-arm' )
|
||||||
run: |
|
run: |
|
||||||
@@ -303,8 +260,6 @@ jobs:
|
|||||||
python -m pytest -raP $PYTEST_ARGS --color=yes ${{ inputs.tests_directory || '.' }}/${{ inputs.apptest_directory }}
|
python -m pytest -raP $PYTEST_ARGS --color=yes ${{ inputs.tests_directory || '.' }}/${{ inputs.apptest_directory }}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Upload artifacts
|
|
||||||
|
|
||||||
- name: 📤 Upload 'TestReportSummary.xml' artifact
|
- name: 📤 Upload 'TestReportSummary.xml' artifact
|
||||||
if: inputs.apptest_xml_artifact != ''
|
if: inputs.apptest_xml_artifact != ''
|
||||||
uses: pyTooling/upload-artifact@v6
|
uses: pyTooling/upload-artifact@v6
|
||||||
|
|||||||
2
.github/workflows/ArtifactCleanUp.yml
vendored
2
.github/workflows/ArtifactCleanUp.yml
vendored
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
2
.github/workflows/CheckCodeQuality.yml
vendored
2
.github/workflows/CheckCodeQuality.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# Patrick Lehmann #
|
# Patrick Lehmann #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2025-2026 The pyTooling Authors #
|
# Copyright 2025-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
2
.github/workflows/CheckDocumentation.yml
vendored
2
.github/workflows/CheckDocumentation.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# Patrick Lehmann #
|
# Patrick Lehmann #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
48
.github/workflows/CompletePipeline.yml
vendored
48
.github/workflows/CompletePipeline.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# Patrick Lehmann #
|
# Patrick Lehmann #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -136,13 +136,13 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Prepare:
|
Prepare:
|
||||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@main
|
||||||
|
|
||||||
ConfigParams:
|
ConfigParams:
|
||||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@dev
|
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@main
|
||||||
|
|
||||||
UnitTestingParams:
|
UnitTestingParams:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
package_namespace: ${{ inputs.package_namespace }}
|
package_namespace: ${{ inputs.package_namespace }}
|
||||||
package_name: ${{ inputs.package_name }}
|
package_name: ${{ inputs.package_name }}
|
||||||
@@ -154,7 +154,7 @@ jobs:
|
|||||||
disable_list: ${{ inputs.unittest_disable_list }}
|
disable_list: ${{ inputs.unittest_disable_list }}
|
||||||
|
|
||||||
# AppTestingParams:
|
# AppTestingParams:
|
||||||
# uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
# uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
# with:
|
# with:
|
||||||
# package_namespace: ${{ inputs.package_namespace }}
|
# package_namespace: ${{ inputs.package_namespace }}
|
||||||
# package_name: ${{ inputs.package_name }}
|
# package_name: ${{ inputs.package_name }}
|
||||||
@@ -166,7 +166,7 @@ jobs:
|
|||||||
# disable_list: ${{ inputs.apptest_disable_list }}
|
# disable_list: ${{ inputs.apptest_disable_list }}
|
||||||
|
|
||||||
InstallParams:
|
InstallParams:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
package_namespace: ${{ inputs.package_namespace }}
|
package_namespace: ${{ inputs.package_namespace }}
|
||||||
package_name: ${{ inputs.package_name }}
|
package_name: ${{ inputs.package_name }}
|
||||||
@@ -230,7 +230,7 @@ jobs:
|
|||||||
"""))
|
"""))
|
||||||
|
|
||||||
UnitTesting:
|
UnitTesting:
|
||||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
|
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -245,7 +245,7 @@ jobs:
|
|||||||
coverage_sqlite_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}
|
coverage_sqlite_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}
|
||||||
|
|
||||||
StaticTypeCheck:
|
StaticTypeCheck:
|
||||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@dev
|
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -259,7 +259,7 @@ jobs:
|
|||||||
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||||
|
|
||||||
CodeQuality:
|
CodeQuality:
|
||||||
uses: pyTooling/Actions/.github/workflows/CheckCodeQuality.yml@dev
|
uses: pyTooling/Actions/.github/workflows/CheckCodeQuality.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
with:
|
with:
|
||||||
@@ -270,7 +270,7 @@ jobs:
|
|||||||
artifact: CodeQuality
|
artifact: CodeQuality
|
||||||
|
|
||||||
DocCoverage:
|
DocCoverage:
|
||||||
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@dev
|
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
with:
|
with:
|
||||||
@@ -278,7 +278,7 @@ jobs:
|
|||||||
directory: ${{ needs.UnitTestingParams.outputs.package_directory }}
|
directory: ${{ needs.UnitTestingParams.outputs.package_directory }}
|
||||||
|
|
||||||
Package:
|
Package:
|
||||||
uses: pyTooling/Actions/.github/workflows/Package.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Package.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
with:
|
with:
|
||||||
@@ -286,7 +286,7 @@ jobs:
|
|||||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||||
|
|
||||||
Install:
|
Install:
|
||||||
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@dev
|
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- InstallParams
|
- InstallParams
|
||||||
@@ -297,7 +297,7 @@ jobs:
|
|||||||
package_name: ${{ needs.UnitTestingParams.outputs.package_fullname }}
|
package_name: ${{ needs.UnitTestingParams.outputs.package_fullname }}
|
||||||
|
|
||||||
# AppTesting:
|
# AppTesting:
|
||||||
# uses: pyTooling/Actions/.github/workflows/ApplicationTesting.yml@dev
|
# uses: pyTooling/Actions/.github/workflows/ApplicationTesting.yml@main
|
||||||
# needs:
|
# needs:
|
||||||
# - AppTestingParams
|
# - AppTestingParams
|
||||||
# - UnitTestingParams
|
# - UnitTestingParams
|
||||||
@@ -308,7 +308,7 @@ jobs:
|
|||||||
# apptest_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).apptesting_xml }}
|
# apptest_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).apptesting_xml }}
|
||||||
|
|
||||||
PublishCoverageResults:
|
PublishCoverageResults:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -330,7 +330,7 @@ jobs:
|
|||||||
CODACY_TOKEN: ${{ secrets.CODACY_TOKEN }}
|
CODACY_TOKEN: ${{ secrets.CODACY_TOKEN }}
|
||||||
|
|
||||||
PublishTestResults:
|
PublishTestResults:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -346,14 +346,14 @@ jobs:
|
|||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
# VerifyDocs:
|
# VerifyDocs:
|
||||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev
|
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@main
|
||||||
# needs:
|
# needs:
|
||||||
# - UnitTestingParams
|
# - UnitTestingParams
|
||||||
# with:
|
# with:
|
||||||
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@dev
|
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -370,7 +370,7 @@ jobs:
|
|||||||
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
|
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
|
||||||
|
|
||||||
IntermediateCleanUp:
|
IntermediateCleanUp:
|
||||||
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@dev
|
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- PublishCoverageResults
|
- PublishCoverageResults
|
||||||
@@ -381,7 +381,7 @@ jobs:
|
|||||||
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-
|
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-
|
||||||
|
|
||||||
PDFDocumentation:
|
PDFDocumentation:
|
||||||
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@dev
|
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- Documentation
|
- Documentation
|
||||||
@@ -392,7 +392,7 @@ jobs:
|
|||||||
can-fail: 'true'
|
can-fail: 'true'
|
||||||
|
|
||||||
PublishToGitHubPages:
|
PublishToGitHubPages:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- Documentation
|
- Documentation
|
||||||
@@ -405,7 +405,7 @@ jobs:
|
|||||||
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||||
|
|
||||||
TriggerTaggedRelease:
|
TriggerTaggedRelease:
|
||||||
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@dev
|
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@main
|
||||||
needs:
|
needs:
|
||||||
- Prepare
|
- Prepare
|
||||||
- UnitTesting
|
- UnitTesting
|
||||||
@@ -424,7 +424,7 @@ jobs:
|
|||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
ReleasePage:
|
ReleasePage:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@main
|
||||||
needs:
|
needs:
|
||||||
- Prepare
|
- Prepare
|
||||||
- UnitTesting
|
- UnitTesting
|
||||||
@@ -442,7 +442,7 @@ jobs:
|
|||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
PublishOnPyPI:
|
PublishOnPyPI:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@main
|
||||||
needs:
|
needs:
|
||||||
- Prepare
|
- Prepare
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -457,7 +457,7 @@ jobs:
|
|||||||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
||||||
|
|
||||||
ArtifactCleanUp:
|
ArtifactCleanUp:
|
||||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev
|
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- UnitTesting
|
- UnitTesting
|
||||||
|
|||||||
12
.github/workflows/ExtractConfiguration.yml
vendored
12
.github/workflows/ExtractConfiguration.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# Patrick Lehmann #
|
# Patrick Lehmann #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -89,9 +89,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ inputs.python_version }}
|
python-version: ${{ inputs.python_version }}
|
||||||
|
|
||||||
- name: 🔧 Install wheel and pip dependencies (native)
|
- name: 🔧 Install wheel,tomli and pip dependencies (native)
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --disable-pip-version-check -U wheel
|
python -m pip install --disable-pip-version-check -U wheel tomli
|
||||||
|
|
||||||
- name: 🔁 Extract configurations from pyproject.toml
|
- name: 🔁 Extract configurations from pyproject.toml
|
||||||
id: getVariables
|
id: getVariables
|
||||||
@@ -105,7 +105,7 @@ jobs:
|
|||||||
|
|
||||||
print(f"Python: {version} (of default installation)")
|
print(f"Python: {version} (of default installation)")
|
||||||
|
|
||||||
from tomllib import load as toml_load
|
from tomli import load as tomli_load
|
||||||
|
|
||||||
unittestXMLFile = Path("./unittest.xml")
|
unittestXMLFile = Path("./unittest.xml")
|
||||||
coverageHTMLDirectory = Path("htmlcov")
|
coverageHTMLDirectory = Path("htmlcov")
|
||||||
@@ -121,7 +121,7 @@ jobs:
|
|||||||
pyProjectFile = Path("pyproject.toml")
|
pyProjectFile = Path("pyproject.toml")
|
||||||
if pyProjectFile.exists():
|
if pyProjectFile.exists():
|
||||||
with pyProjectFile.open("rb") as file:
|
with pyProjectFile.open("rb") as file:
|
||||||
pyProjectSettings = toml_load(file)
|
pyProjectSettings = tomli_load(file)
|
||||||
|
|
||||||
toolSection = pyProjectSettings["tool"]
|
toolSection = pyProjectSettings["tool"]
|
||||||
if "pytest" in toolSection:
|
if "pytest" in toolSection:
|
||||||
@@ -163,7 +163,7 @@ jobs:
|
|||||||
coverageRCFile = Path(coverageRC)
|
coverageRCFile = Path(coverageRC)
|
||||||
if coverageRCFile.exists():
|
if coverageRCFile.exists():
|
||||||
with coverageRCFile.open("rb") as file:
|
with coverageRCFile.open("rb") as file:
|
||||||
coverageRCSettings = toml_load(file)
|
coverageRCSettings = tomli_load(file)
|
||||||
|
|
||||||
coverageHTMLDirectory = Path(coverageRCSettings["html"]["directory"])
|
coverageHTMLDirectory = Path(coverageRCSettings["html"]["directory"])
|
||||||
coverageXMLFile = Path(coverageRCSettings["xml"]["output"])
|
coverageXMLFile = Path(coverageRCSettings["xml"]["output"])
|
||||||
|
|||||||
3
.github/workflows/InstallPackage.yml
vendored
3
.github/workflows/InstallPackage.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# Patrick Lehmann #
|
# Patrick Lehmann #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2025-2026 The pyTooling Authors #
|
# Copyright 2025-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -70,6 +70,7 @@ jobs:
|
|||||||
python-markupsafe:p
|
python-markupsafe:p
|
||||||
python-pyaml:p python-types-pyyaml:p
|
python-pyaml:p python-types-pyyaml:p
|
||||||
python-ruamel-yaml:p python-ruamel.yaml.clib:p
|
python-ruamel-yaml:p python-ruamel.yaml.clib:p
|
||||||
|
python-tomli:p
|
||||||
|
|
||||||
- name: 🐍 Setup Python ${{ matrix.python }}
|
- name: 🐍 Setup Python ${{ matrix.python }}
|
||||||
uses: actions/setup-python@v6
|
uses: actions/setup-python@v6
|
||||||
|
|||||||
2
.github/workflows/IntermediateCleanUp.yml
vendored
2
.github/workflows/IntermediateCleanUp.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# Patrick Lehmann #
|
# Patrick Lehmann #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
29
.github/workflows/LaTeXDocumentation.yml
vendored
29
.github/workflows/LaTeXDocumentation.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# Patrick Lehmann #
|
# Patrick Lehmann #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -42,11 +42,6 @@ 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
|
||||||
@@ -63,27 +58,29 @@ 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:
|
||||||
|
image: pytooling/miktex:sphinx
|
||||||
|
options: -v ${{ github.workspace }}/latex:/latex --workdir /latex
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ inputs.halt-on-error }}" == "true" ]]; then
|
# which ${{ inputs.processor }}
|
||||||
HALT_ON_ERROR="--halt-on-error"
|
# pwd
|
||||||
fi
|
# ls -lAh
|
||||||
|
|
||||||
cd latex
|
latexmk -${{ inputs.processor }} "${{ inputs.document }}.tex"
|
||||||
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
|
||||||
|
|||||||
2
.github/workflows/Package.yml
vendored
2
.github/workflows/Package.yml
vendored
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
6
.github/workflows/Parameters.yml
vendored
6
.github/workflows/Parameters.yml
vendored
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -287,9 +287,9 @@ jobs:
|
|||||||
exclude_list = "${{ inputs.exclude_list }}".strip()
|
exclude_list = "${{ inputs.exclude_list }}".strip()
|
||||||
disable_list = "${{ inputs.disable_list }}".strip()
|
disable_list = "${{ inputs.disable_list }}".strip()
|
||||||
|
|
||||||
currentMSYS2Version = "3.13"
|
currentMSYS2Version = "3.12"
|
||||||
currentAlphaVersion = "3.15"
|
currentAlphaVersion = "3.15"
|
||||||
currentAlphaRelease = "3.15.0-a.4"
|
currentAlphaRelease = "3.15.0-a.1"
|
||||||
|
|
||||||
if systems == "":
|
if systems == "":
|
||||||
print("::error title=Parameters::system_list is empty.")
|
print("::error title=Parameters::system_list is empty.")
|
||||||
|
|||||||
21
.github/workflows/PrepareJob.yml
vendored
21
.github/workflows/PrepareJob.yml
vendored
@@ -1,24 +1,3 @@
|
|||||||
# ==================================================================================================================== #
|
|
||||||
# Authors: #
|
|
||||||
# Patrick Lehmann #
|
|
||||||
# #
|
|
||||||
# ==================================================================================================================== #
|
|
||||||
# Copyright 2025-2026 The pyTooling Authors #
|
|
||||||
# #
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
|
||||||
# you may not use this file except in compliance with the License. #
|
|
||||||
# You may obtain a copy of the License at #
|
|
||||||
# #
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0 #
|
|
||||||
# #
|
|
||||||
# Unless required by applicable law or agreed to in writing, software #
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS, #
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
|
|
||||||
# See the License for the specific language governing permissions and #
|
|
||||||
# limitations under the License. #
|
|
||||||
# #
|
|
||||||
# SPDX-License-Identifier: Apache-2.0 #
|
|
||||||
# ==================================================================================================================== #
|
|
||||||
name: Prepare Variables
|
name: Prepare Variables
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|||||||
6
.github/workflows/PublishCoverageResults.yml
vendored
6
.github/workflows/PublishCoverageResults.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# Patrick Lehmann #
|
# Patrick Lehmann #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -124,9 +124,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
tree -pash artifacts
|
tree -pash artifacts
|
||||||
|
|
||||||
- name: 🔧 Install coverage
|
- name: 🔧 Install coverage and tomli
|
||||||
run: |
|
run: |
|
||||||
python -m pip install -U --disable-pip-version-check --break-system-packages coverage[toml]
|
python -m pip install -U --disable-pip-version-check --break-system-packages coverage[toml] tomli
|
||||||
|
|
||||||
- name: Rename .coverage files and move them all into 'coverage/'
|
- name: Rename .coverage files and move them all into 'coverage/'
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.github/workflows/PublishOnPyPI.yml
vendored
2
.github/workflows/PublishOnPyPI.yml
vendored
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
10
.github/workflows/PublishReleaseNotes.yml
vendored
10
.github/workflows/PublishReleaseNotes.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# Patrick Lehmann #
|
# Patrick Lehmann #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -880,11 +880,11 @@ jobs:
|
|||||||
|
|
||||||
export GH_TOKEN=${{ github.token }}
|
export GH_TOKEN=${{ github.token }}
|
||||||
|
|
||||||
if [[ -s __NOTES__.md ]]; then
|
if [[ -s __ASSETS__.md ]]; then
|
||||||
addNotes=("--notes-file" "__NOTES__.md")
|
addNotes=("--notes-file" "__ASSETS__.md")
|
||||||
else
|
else
|
||||||
printf " ${ANSI_LIGHT_RED}File '%s' not found.${ANSI_NOCOLOR}\n" "__NOTES__.md"
|
printf " ${ANSI_LIGHT_RED}File '%s' not found.${ANSI_NOCOLOR}\n" "__ASSETS__.md"
|
||||||
printf "::error title=%s::%s\n" "InternalError" "File '__NOTES__.md' not found."
|
printf "::error title=%s::%s\n" "InternalError" "File '__ASSETS__.md' not found."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/PublishTestResults.yml
vendored
2
.github/workflows/PublishTestResults.yml
vendored
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
2
.github/workflows/PublishToGitHubPages.yml
vendored
2
.github/workflows/PublishToGitHubPages.yml
vendored
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
6
.github/workflows/SphinxDocumentation.yml
vendored
6
.github/workflows/SphinxDocumentation.yml
vendored
@@ -3,7 +3,7 @@
|
|||||||
# Patrick Lehmann #
|
# Patrick Lehmann #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -99,7 +99,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ inputs.python_version }}
|
python-version: ${{ inputs.python_version }}
|
||||||
|
|
||||||
- name: 🔧 Install wheel and pip dependencies (native)
|
- name: 🔧 Install wheel,tomli and pip dependencies (native)
|
||||||
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 ${{ inputs.requirements }}
|
||||||
@@ -158,7 +158,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ inputs.python_version }}
|
python-version: ${{ inputs.python_version }}
|
||||||
|
|
||||||
- name: 🔧 Install wheel and pip dependencies (native)
|
- name: 🔧 Install wheel,tomli and pip dependencies (native)
|
||||||
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 ${{ inputs.requirements }}
|
||||||
|
|||||||
2
.github/workflows/StaticTypeCheck.yml
vendored
2
.github/workflows/StaticTypeCheck.yml
vendored
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
2
.github/workflows/TagReleaseCommit.yml
vendored
2
.github/workflows/TagReleaseCommit.yml
vendored
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
52
.github/workflows/UnitTesting.yml
vendored
52
.github/workflows/UnitTesting.yml
vendored
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -69,23 +69,13 @@ on:
|
|||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
windows_before_script:
|
|
||||||
description: 'Scripts to execute before pytest on Windows (x64-64).'
|
|
||||||
required: false
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
windows_arm_before_script:
|
|
||||||
description: 'Scripts to execute before pytest on Windows (aarch64).'
|
|
||||||
required: false
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
mingw64_before_script:
|
mingw64_before_script:
|
||||||
description: 'Scripts to execute before pytest on Windows (x64-64) within MSYS2 MinGW64.'
|
description: 'Scripts to execute before pytest on Windows within MSYS2 MinGW64.'
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
ucrt64_before_script:
|
ucrt64_before_script:
|
||||||
description: 'Scripts to execute before pytest on Windows (x64-64) within MSYS2 UCRT64.'
|
description: 'Scripts to execute before pytest on Windows within MSYS2 UCRT64.'
|
||||||
required: false
|
required: false
|
||||||
default: ''
|
default: ''
|
||||||
type: string
|
type: string
|
||||||
@@ -209,13 +199,12 @@ jobs:
|
|||||||
|
|
||||||
# Compute Dependencies for MSYS2 steps
|
# Compute Dependencies for MSYS2 steps
|
||||||
|
|
||||||
# - name: 🔧 Install dependencies (system Python for Python shell)
|
- name: 🔧 Install dependencies (system Python for Python shell)
|
||||||
# if: matrix.system == 'msys2'
|
if: matrix.system == 'msys2'
|
||||||
# shell: pwsh
|
shell: pwsh
|
||||||
# run: |
|
run: |
|
||||||
# py -3.12 -m pip install --disable-pip-version-check --break-system-packages -U tomli
|
py -3.9 -m pip install --disable-pip-version-check --break-system-packages -U tomli
|
||||||
|
|
||||||
# TODO: extract step to an Action so package, so code can be shared with AppTesting.yml
|
|
||||||
- name: Compute path to requirements file
|
- name: Compute path to requirements file
|
||||||
id: requirements
|
id: requirements
|
||||||
shell: python
|
shell: python
|
||||||
@@ -235,7 +224,7 @@ jobs:
|
|||||||
requirementsFile = Path(requirements)
|
requirementsFile = Path(requirements)
|
||||||
|
|
||||||
if not requirementsFile.exists():
|
if not requirementsFile.exists():
|
||||||
print(f"::error title=FileNotFoundError::{requirementsFile}")
|
print(f"::error title=FileNotFoundError::{ex}")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
print(f"requirements file: {requirementsFile.as_posix()}")
|
print(f"requirements file: {requirementsFile.as_posix()}")
|
||||||
@@ -248,7 +237,6 @@ jobs:
|
|||||||
else:
|
else:
|
||||||
print(f"requirements list: {requirements}")
|
print(f"requirements list: {requirements}")
|
||||||
|
|
||||||
# TODO: extract step to an Action so package lists are shared with UnitTesting (and GHDL?)
|
|
||||||
- name: Compute pacman/pacboy packages
|
- name: Compute pacman/pacboy packages
|
||||||
id: pacboy
|
id: pacboy
|
||||||
if: matrix.system == 'msys2'
|
if: matrix.system == 'msys2'
|
||||||
@@ -285,7 +273,6 @@ jobs:
|
|||||||
dependencies = [req.strip() for req in requirements.split(" ")]
|
dependencies = [req.strip() for req in requirements.split(" ")]
|
||||||
|
|
||||||
packages = {
|
packages = {
|
||||||
"aiohttp": "python-aiohttp:p",
|
|
||||||
"coverage": "python-coverage:p",
|
"coverage": "python-coverage:p",
|
||||||
"docstr_coverage": "python-pyaml:p python-types-pyyaml:p",
|
"docstr_coverage": "python-pyaml:p python-types-pyyaml:p",
|
||||||
"igraph": "igraph:p",
|
"igraph": "igraph:p",
|
||||||
@@ -294,11 +281,11 @@ jobs:
|
|||||||
"numpy": "python-numpy:p",
|
"numpy": "python-numpy:p",
|
||||||
"markupsafe": "python-markupsafe:p",
|
"markupsafe": "python-markupsafe:p",
|
||||||
"pip": "python-pip:p",
|
"pip": "python-pip:p",
|
||||||
"pyyaml": "python-pyaml:p python-types-pyyaml:p",
|
"pyyaml": "python-pyyaml:p python-types-pyyaml:p",
|
||||||
"ruamel.yaml": "python-ruamel-yaml:p",
|
"ruamel.yaml": "python-ruamel-yaml:p",
|
||||||
# "ruamel.yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
|
# "ruamel.yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
|
||||||
"sphinx": "python-markupsafe:p",
|
"sphinx": "python-markupsafe:p",
|
||||||
"tomli": "python-tomli:p", # outdated, now part of Python as tomllib
|
"tomli": "python-tomli:p",
|
||||||
"wheel": "python-wheel:p",
|
"wheel": "python-wheel:p",
|
||||||
"pyedaa.projectmodel": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p",
|
"pyedaa.projectmodel": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p",
|
||||||
"pyedaa.reports": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p",
|
"pyedaa.reports": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p",
|
||||||
@@ -307,7 +294,6 @@ jobs:
|
|||||||
subPackages = {
|
subPackages = {
|
||||||
"pytooling": {
|
"pytooling": {
|
||||||
"yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
|
"yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
|
||||||
"pypi": "python-aiohttp:p",
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -363,10 +349,10 @@ jobs:
|
|||||||
|
|
||||||
# Python Dependency steps
|
# Python Dependency steps
|
||||||
|
|
||||||
- name: 🔧 Install wheel and pip dependencies (native)
|
- name: 🔧 Install wheel,tomli and pip dependencies (native)
|
||||||
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 tomli
|
||||||
python -m pip install --disable-pip-version-check ${{ steps.requirements.outputs.requirements }}
|
python -m pip install --disable-pip-version-check ${{ steps.requirements.outputs.requirements }}
|
||||||
|
|
||||||
- name: 🔧 Install pip dependencies (MSYS2)
|
- name: 🔧 Install pip dependencies (MSYS2)
|
||||||
@@ -392,19 +378,13 @@ jobs:
|
|||||||
if: ( matrix.system == 'ubuntu' || matrix.system == 'ubuntu-arm' ) && inputs.ubuntu_before_script != ''
|
if: ( matrix.system == 'ubuntu' || matrix.system == 'ubuntu-arm' ) && inputs.ubuntu_before_script != ''
|
||||||
run: ${{ inputs.ubuntu_before_script }}
|
run: ${{ inputs.ubuntu_before_script }}
|
||||||
|
|
||||||
- name: 🪟 Windows (x86-64) before scripts
|
# TODO: Windows before script
|
||||||
if: matrix.system == 'windows' && inputs.windows_before_script != ''
|
|
||||||
run: ${{ inputs.windows_before_script }}
|
|
||||||
|
|
||||||
- name: 🏢 Windows (aarch64) before scripts
|
- name: 🪟🟦 MinGW64 before scripts
|
||||||
if: matrix.system == 'windows-arm' && inputs.windows_arm_before_script != ''
|
|
||||||
run: ${{ inputs.windows_arm_before_script }}
|
|
||||||
|
|
||||||
- name: 🪟🟦 Windows (x86-64) + MinGW64 before scripts
|
|
||||||
if: matrix.system == 'msys2' && matrix.runtime == 'MINGW64' && inputs.mingw64_before_script != ''
|
if: matrix.system == 'msys2' && matrix.runtime == 'MINGW64' && inputs.mingw64_before_script != ''
|
||||||
run: ${{ inputs.mingw64_before_script }}
|
run: ${{ inputs.mingw64_before_script }}
|
||||||
|
|
||||||
- name: 🪟🟨 Windows (x86-64) + UCRT64 before scripts
|
- name: 🪟🟨 UCRT64 before scripts
|
||||||
if: matrix.system == 'msys2' && matrix.runtime == 'UCRT64' && inputs.ucrt64_before_script != ''
|
if: matrix.system == 'msys2' && matrix.runtime == 'UCRT64' && inputs.ucrt64_before_script != ''
|
||||||
run: ${{ inputs.ucrt64_before_script }}
|
run: ${{ inputs.ucrt64_before_script }}
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/VerifyDocs.yml
vendored
2
.github/workflows/VerifyDocs.yml
vendored
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Params:
|
Params:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
name: Example
|
name: Example
|
||||||
python_version_list: "3.13 3.14" # py-1, py-0
|
python_version_list: "3.13 3.14" # py-1, py-0
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
ArtifactCleanUp:
|
ArtifactCleanUp:
|
||||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev
|
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@main
|
||||||
needs:
|
needs:
|
||||||
- Params
|
- Params
|
||||||
- Testing
|
- Testing
|
||||||
|
|||||||
46
.github/workflows/_Checking_JobTemplates.yml
vendored
46
.github/workflows/_Checking_JobTemplates.yml
vendored
@@ -6,20 +6,20 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Prepare:
|
Prepare:
|
||||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@main
|
||||||
|
|
||||||
ConfigParams:
|
ConfigParams:
|
||||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@dev
|
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@main
|
||||||
|
|
||||||
UnitTestingParams:
|
UnitTestingParams:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
package_name: 'myPackage'
|
package_name: 'myPackage'
|
||||||
python_version_list: '3.11 3.12 3.13 3.14 pypy-3.11'
|
python_version_list: '3.11 3.12 3.13 3.14 pypy-3.11'
|
||||||
disable_list: 'windows-arm:pypy-3.11'
|
disable_list: 'windows-arm:pypy-3.11'
|
||||||
|
|
||||||
PlatformTestingParams:
|
PlatformTestingParams:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
package_name: 'myPackage'
|
package_name: 'myPackage'
|
||||||
name: 'Platform'
|
name: 'Platform'
|
||||||
@@ -27,14 +27,14 @@ jobs:
|
|||||||
system_list: 'ubuntu ubuntu-arm windows windows-arm macos mingw64 clang64 ucrt64'
|
system_list: 'ubuntu ubuntu-arm windows windows-arm macos mingw64 clang64 ucrt64'
|
||||||
|
|
||||||
InstallParams:
|
InstallParams:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
package_name: 'myPackage'
|
package_name: 'myPackage'
|
||||||
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||||
python_version_list: ''
|
python_version_list: ''
|
||||||
|
|
||||||
UnitTesting:
|
UnitTesting:
|
||||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
|
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
coverage_html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}
|
coverage_html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}
|
||||||
|
|
||||||
PlatformTesting:
|
PlatformTesting:
|
||||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
|
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- PlatformTestingParams
|
- PlatformTestingParams
|
||||||
@@ -72,7 +72,7 @@ jobs:
|
|||||||
coverage_html_artifact: ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_html }}
|
coverage_html_artifact: ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_html }}
|
||||||
|
|
||||||
StaticTypeCheck:
|
StaticTypeCheck:
|
||||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@dev
|
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -82,7 +82,7 @@ jobs:
|
|||||||
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||||
|
|
||||||
CodeQuality:
|
CodeQuality:
|
||||||
uses: pyTooling/Actions/.github/workflows/CheckCodeQuality.yml@dev
|
uses: pyTooling/Actions/.github/workflows/CheckCodeQuality.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
with:
|
with:
|
||||||
@@ -93,7 +93,7 @@ jobs:
|
|||||||
artifact: 'CodeQuality'
|
artifact: 'CodeQuality'
|
||||||
|
|
||||||
DocCoverage:
|
DocCoverage:
|
||||||
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@dev
|
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -103,7 +103,7 @@ jobs:
|
|||||||
# fail_below: 70
|
# fail_below: 70
|
||||||
|
|
||||||
Package:
|
Package:
|
||||||
uses: pyTooling/Actions/.github/workflows/Package.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Package.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
# - UnitTesting
|
# - UnitTesting
|
||||||
@@ -113,7 +113,7 @@ jobs:
|
|||||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||||
|
|
||||||
Install:
|
Install:
|
||||||
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@dev
|
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- InstallParams
|
- InstallParams
|
||||||
@@ -124,7 +124,7 @@ jobs:
|
|||||||
package_name: ${{ needs.UnitTestingParams.outputs.package_fullname }}
|
package_name: ${{ needs.UnitTestingParams.outputs.package_fullname }}
|
||||||
|
|
||||||
PublishCoverageResults:
|
PublishCoverageResults:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -143,7 +143,7 @@ jobs:
|
|||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
PublishTestResults:
|
PublishTestResults:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -158,14 +158,14 @@ jobs:
|
|||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
# VerifyDocs:
|
# VerifyDocs:
|
||||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev
|
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@main
|
||||||
# needs:
|
# needs:
|
||||||
# - UnitTestingParams
|
# - UnitTestingParams
|
||||||
# with:
|
# with:
|
||||||
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@dev
|
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@main
|
||||||
needs:
|
needs:
|
||||||
- ConfigParams
|
- ConfigParams
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
@@ -182,7 +182,7 @@ jobs:
|
|||||||
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
|
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
|
||||||
|
|
||||||
IntermediateCleanUp:
|
IntermediateCleanUp:
|
||||||
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@dev
|
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- PublishCoverageResults
|
- PublishCoverageResults
|
||||||
@@ -192,7 +192,7 @@ jobs:
|
|||||||
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-
|
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-
|
||||||
|
|
||||||
PDFDocumentation:
|
PDFDocumentation:
|
||||||
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@dev
|
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- Documentation
|
- Documentation
|
||||||
@@ -202,7 +202,7 @@ jobs:
|
|||||||
pdf_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_pdf }}
|
pdf_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_pdf }}
|
||||||
|
|
||||||
PublishToGitHubPages:
|
PublishToGitHubPages:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- Documentation
|
- Documentation
|
||||||
@@ -215,7 +215,7 @@ jobs:
|
|||||||
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||||
|
|
||||||
TriggerTaggedRelease:
|
TriggerTaggedRelease:
|
||||||
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@dev
|
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@main
|
||||||
needs:
|
needs:
|
||||||
- Prepare
|
- Prepare
|
||||||
- UnitTesting
|
- UnitTesting
|
||||||
@@ -233,7 +233,7 @@ jobs:
|
|||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
ReleasePage:
|
ReleasePage:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@main
|
||||||
needs:
|
needs:
|
||||||
- Prepare
|
- Prepare
|
||||||
- UnitTesting
|
- UnitTesting
|
||||||
@@ -251,7 +251,7 @@ jobs:
|
|||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
PublishOnPyPI:
|
PublishOnPyPI:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
|
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- ReleasePage
|
- ReleasePage
|
||||||
@@ -264,7 +264,7 @@ jobs:
|
|||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
ArtifactCleanUp:
|
ArtifactCleanUp:
|
||||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev
|
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@main
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- PlatformTestingParams
|
- PlatformTestingParams
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
NamespacePackage:
|
NamespacePackage:
|
||||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@dev
|
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@main
|
||||||
with:
|
with:
|
||||||
package_namespace: 'myFramework'
|
package_namespace: 'myFramework'
|
||||||
package_name: 'Extension'
|
package_name: 'Extension'
|
||||||
|
|||||||
20
.github/workflows/_Checking_Parameters.yml
vendored
20
.github/workflows/_Checking_Parameters.yml
vendored
@@ -6,24 +6,24 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Params_Default:
|
Params_Default:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
name: Example
|
name: Example
|
||||||
|
|
||||||
Params_PythonVersions:
|
Params_PythonVersions:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
name: Example
|
name: Example
|
||||||
python_version_list: "3.12 3.13 pypy-3.10 pypy-3.11" # py-2, py-1, pypy-1, pypy-0
|
python_version_list: "3.12 3.13 pypy-3.10 pypy-3.11" # py-2, py-1, pypy-1, pypy-0
|
||||||
|
|
||||||
Params_Systems:
|
Params_Systems:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
name: Example
|
name: Example
|
||||||
system_list: "windows mingw32 mingw64"
|
system_list: "windows mingw32 mingw64"
|
||||||
|
|
||||||
Params_Include:
|
Params_Include:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
name: Example
|
name: Example
|
||||||
python_version_list: "3.12" # py-2
|
python_version_list: "3.12" # py-2
|
||||||
@@ -31,7 +31,7 @@ jobs:
|
|||||||
include_list: "ubuntu:3.13 ubuntu:3.14 ubuntu-arm:3.12"
|
include_list: "ubuntu:3.13 ubuntu:3.14 ubuntu-arm:3.12"
|
||||||
|
|
||||||
Params_Exclude:
|
Params_Exclude:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
name: Example
|
name: Example
|
||||||
python_version_list: "3.13" # py-1
|
python_version_list: "3.13" # py-1
|
||||||
@@ -39,7 +39,7 @@ jobs:
|
|||||||
exclude_list: "windows:3.13 windows:3.14"
|
exclude_list: "windows:3.13 windows:3.14"
|
||||||
|
|
||||||
Params_Disable:
|
Params_Disable:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
name: Example
|
name: Example
|
||||||
python_version_list: "3.13" # py-1
|
python_version_list: "3.13" # py-1
|
||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
disable_list: "windows:3.13 windows:3.14"
|
disable_list: "windows:3.13 windows:3.14"
|
||||||
|
|
||||||
Params_All:
|
Params_All:
|
||||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
|
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||||
with:
|
with:
|
||||||
name: Example
|
name: Example
|
||||||
python_version_list: "3.12 3.13" # py-2, py-1
|
python_version_list: "3.12 3.13" # py-2, py-1
|
||||||
@@ -73,7 +73,7 @@ jobs:
|
|||||||
expected-python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
|
expected-python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
|
||||||
expected-systems: '["ubuntu", "ubuntu-arm", "windows", "windows-arm", "macos", "macos-arm"]'
|
expected-systems: '["ubuntu", "ubuntu-arm", "windows", "windows-arm", "macos", "macos-arm"]'
|
||||||
expected-exclude-jobs: '["windows-arm:3.10"]'
|
expected-exclude-jobs: '["windows-arm:3.10"]'
|
||||||
expected-include-jobs: '["mingw64:3.13", "ucrt64:3.13"]'
|
expected-include-jobs: '["mingw64:3.12", "ucrt64:3.12"]'
|
||||||
generated-default-version: ${{ needs.Params_Default.outputs.python_version }}
|
generated-default-version: ${{ needs.Params_Default.outputs.python_version }}
|
||||||
generated-jobmatrix: ${{ needs.Params_Default.outputs.python_jobs }}
|
generated-jobmatrix: ${{ needs.Params_Default.outputs.python_jobs }}
|
||||||
|
|
||||||
@@ -101,7 +101,7 @@ jobs:
|
|||||||
expected-python-versions: '["3.12", "3.13", "pypy-3.10", "pypy-3.11"]'
|
expected-python-versions: '["3.12", "3.13", "pypy-3.10", "pypy-3.11"]'
|
||||||
expected-systems: '["ubuntu", "ubuntu-arm", "windows", "windows-arm", "macos", "macos-arm"]'
|
expected-systems: '["ubuntu", "ubuntu-arm", "windows", "windows-arm", "macos", "macos-arm"]'
|
||||||
expected-exclude-jobs: '["windows-arm:pypy-3.10", "windows-arm:pypy-3.11"]'
|
expected-exclude-jobs: '["windows-arm:pypy-3.10", "windows-arm:pypy-3.11"]'
|
||||||
expected-include-jobs: '["mingw64:3.13", "ucrt64:3.13"]'
|
expected-include-jobs: '["mingw64:3.12", "ucrt64:3.12"]'
|
||||||
generated-default-version: ${{ needs.Params_PythonVersions.outputs.python_version }}
|
generated-default-version: ${{ needs.Params_PythonVersions.outputs.python_version }}
|
||||||
generated-jobmatrix: ${{ needs.Params_PythonVersions.outputs.python_jobs }}
|
generated-jobmatrix: ${{ needs.Params_PythonVersions.outputs.python_jobs }}
|
||||||
|
|
||||||
@@ -123,7 +123,7 @@ jobs:
|
|||||||
expected-python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
|
expected-python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
|
||||||
expected-systems: '["windows"]'
|
expected-systems: '["windows"]'
|
||||||
expected-exclude-jobs: '[]'
|
expected-exclude-jobs: '[]'
|
||||||
expected-include-jobs: '["mingw32:3.13", "mingw64:3.13"]'
|
expected-include-jobs: '["mingw32:3.12", "mingw64:3.12"]'
|
||||||
generated-default-version: ${{ needs.Params_Systems.outputs.python_version }}
|
generated-default-version: ${{ needs.Params_Systems.outputs.python_version }}
|
||||||
generated-jobmatrix: ${{ needs.Params_Systems.outputs.python_jobs }}
|
generated-jobmatrix: ${{ needs.Params_Systems.outputs.python_jobs }}
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
SimplePackage:
|
SimplePackage:
|
||||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@dev
|
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@main
|
||||||
with:
|
with:
|
||||||
package_name: 'myPackage'
|
package_name: 'myPackage'
|
||||||
unittest_python_version_list: '3.11 3.12 3.13 3.14 pypy-3.11'
|
unittest_python_version_list: '3.11 3.12 3.13 3.14 pypy-3.11'
|
||||||
|
|||||||
2
dist/requirements.txt
vendored
2
dist/requirements.txt
vendored
@@ -1,2 +1,2 @@
|
|||||||
wheel ~= 0.45.0
|
wheel ~= 0.45
|
||||||
twine ~= 6.2
|
twine ~= 6.2
|
||||||
|
|||||||
@@ -124,6 +124,7 @@ It can be used for simple Python packages as well as namespace packages.
|
|||||||
* :gh:`actions/setup-python`
|
* :gh:`actions/setup-python`
|
||||||
|
|
||||||
* :pypi:`wheel`
|
* :pypi:`wheel`
|
||||||
|
* :pypi:`tomli`
|
||||||
|
|
||||||
* :ref:`pyTooling/Actions/.github/workflows/UnitTesting.yml <JOBTMPL/UnitTesting>`
|
* :ref:`pyTooling/Actions/.github/workflows/UnitTesting.yml <JOBTMPL/UnitTesting>`
|
||||||
|
|
||||||
@@ -144,6 +145,7 @@ It can be used for simple Python packages as well as namespace packages.
|
|||||||
* pip
|
* pip
|
||||||
|
|
||||||
* :pypi:`wheel`
|
* :pypi:`wheel`
|
||||||
|
* :pypi:`tomli`
|
||||||
* Python packages specified via :ref:`JOBTMPL/UnitTesting/Input/requirements` or
|
* Python packages specified via :ref:`JOBTMPL/UnitTesting/Input/requirements` or
|
||||||
:ref:`JOBTMPL/UnitTesting/Input/mingw_requirements` parameter.
|
:ref:`JOBTMPL/UnitTesting/Input/mingw_requirements` parameter.
|
||||||
|
|
||||||
@@ -201,6 +203,7 @@ It can be used for simple Python packages as well as namespace packages.
|
|||||||
* pip
|
* pip
|
||||||
|
|
||||||
* :pypi:`coverage`
|
* :pypi:`coverage`
|
||||||
|
* :pypi:`tomli`
|
||||||
|
|
||||||
* :gh:`pyTooling/upload-artifact`
|
* :gh:`pyTooling/upload-artifact`
|
||||||
|
|
||||||
|
|||||||
@@ -56,6 +56,7 @@ cloud services like :term:`CodeCov` or :term:`Codacy`.
|
|||||||
* pip
|
* pip
|
||||||
|
|
||||||
* :pypi:`coverage`
|
* :pypi:`coverage`
|
||||||
|
* :pypi:`tomli`
|
||||||
|
|
||||||
* :gh:`pyTooling/upload-artifact`
|
* :gh:`pyTooling/upload-artifact`
|
||||||
|
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ duplications within jobs.
|
|||||||
* :gh:`actions/setup-python`
|
* :gh:`actions/setup-python`
|
||||||
|
|
||||||
* :pypi:`wheel`
|
* :pypi:`wheel`
|
||||||
|
* :pypi:`tomli`
|
||||||
|
|
||||||
|
|
||||||
.. _JOBTMPL/ExtractConfiguration/Instantiation:
|
.. _JOBTMPL/ExtractConfiguration/Instantiation:
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ Configuration options to :term:`pytest` should be given via section ``[tool.pyte
|
|||||||
* pip
|
* pip
|
||||||
|
|
||||||
* :pypi:`wheel`
|
* :pypi:`wheel`
|
||||||
|
* :pypi:`tomli`
|
||||||
* Python packages specified via :ref:`JOBTMPL/UnitTesting/Input/requirements` or
|
* Python packages specified via :ref:`JOBTMPL/UnitTesting/Input/requirements` or
|
||||||
:ref:`JOBTMPL/UnitTesting/Input/mingw_requirements` parameter.
|
:ref:`JOBTMPL/UnitTesting/Input/mingw_requirements` parameter.
|
||||||
|
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ 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", "wheel ~= 0.45", "pyTooling ~= 8.8"]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
-r ../requirements.txt
|
-r ../requirements.txt
|
||||||
|
|
||||||
pyTooling ~= 8.11
|
pyTooling ~= 8.8
|
||||||
|
|
||||||
# Enforce latest version on ReadTheDocs
|
# Enforce latest version on ReadTheDocs
|
||||||
sphinx ~= 9.1
|
sphinx ~= 8.2
|
||||||
docutils ~= 0.22.0
|
docutils ~= 0.21
|
||||||
docutils_stubs ~= 0.0.22
|
docutils_stubs ~= 0.0.22
|
||||||
|
|
||||||
# ReadTheDocs Theme
|
# ReadTheDocs Theme
|
||||||
sphinx_rtd_theme ~= 3.0
|
sphinx_rtd_theme ~= 3.0
|
||||||
|
|
||||||
# Sphinx Extenstions
|
# Sphinx Extenstions
|
||||||
sphinxcontrib-mermaid ~= 2.0
|
sphinxcontrib-mermaid ~= 1.2
|
||||||
autoapi >= 2.0.1
|
autoapi >= 2.0.1
|
||||||
sphinx_design ~= 0.7.0
|
sphinx_design ~= 0.6
|
||||||
sphinx-copybutton >= 0.5.0
|
sphinx-copybutton >= 0.5
|
||||||
sphinx_autodoc_typehints ~= 3.5 # 3.6 is conflicting with old sphinx_design and rtd theme due to sphinx<9 and docutils<0.22
|
sphinx_autodoc_typehints ~= 3.5 # 3.6 is conflicting with old sphinx_design and rtd theme due to sphinx<9 and docutils<0.22
|
||||||
sphinx_reports ~= 0.10.0
|
sphinx_reports ~= 0.9
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
# #
|
# #
|
||||||
# License: #
|
# License: #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2017-2026 Patrick Lehmann - Bötzingen, Germany #
|
# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -34,7 +34,7 @@ A module for a set of dummy classes.
|
|||||||
|
|
||||||
__author__ = "Patrick Lehmann"
|
__author__ = "Patrick Lehmann"
|
||||||
__email__ = "Paebbels@gmail.com"
|
__email__ = "Paebbels@gmail.com"
|
||||||
__copyright__ = "2017-2026, Patrick Lehmann"
|
__copyright__ = "2017-2025, Patrick Lehmann"
|
||||||
__license__ = "Apache License, Version 2.0"
|
__license__ = "Apache License, Version 2.0"
|
||||||
__version__ = "0.14.8"
|
__version__ = "0.14.8"
|
||||||
__keywords__ = ["GitHub Actions"]
|
__keywords__ = ["GitHub Actions"]
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
# #
|
# #
|
||||||
# License: #
|
# License: #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2017-2026 Patrick Lehmann - Bötzingen, Germany #
|
# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -34,9 +34,9 @@ A module for a set of dummy classes.
|
|||||||
|
|
||||||
__author__ = "Patrick Lehmann"
|
__author__ = "Patrick Lehmann"
|
||||||
__email__ = "Paebbels@gmail.com"
|
__email__ = "Paebbels@gmail.com"
|
||||||
__copyright__ = "2017-2026, Patrick Lehmann"
|
__copyright__ = "2017-2025, Patrick Lehmann"
|
||||||
__license__ = "Apache License, Version 2.0"
|
__license__ = "Apache License, Version 2.0"
|
||||||
__version__ = "7.4.2"
|
__version__ = "7.0.1"
|
||||||
__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,8 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = [
|
requires = [
|
||||||
"setuptools >= 80.0",
|
"setuptools >= 80.0",
|
||||||
"wheel ~= 0.45.0",
|
"wheel ~= 0.45",
|
||||||
"pyTooling ~= 8.11"
|
"pyTooling ~= 8.8"
|
||||||
]
|
]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
pyTooling ~= 8.11
|
pyTooling ~= 8.8
|
||||||
|
|||||||
7
run.ps1
7
run.ps1
@@ -116,9 +116,7 @@ $jobs = @()
|
|||||||
if ($livedoc)
|
if ($livedoc)
|
||||||
{ Write-Host -ForegroundColor DarkYellow "[live][DOC] Building documentation using Sphinx ..."
|
{ Write-Host -ForegroundColor DarkYellow "[live][DOC] Building documentation using Sphinx ..."
|
||||||
|
|
||||||
cd doc
|
.\doc\make.bat html --verbose
|
||||||
py -3.14 -m sphinx.cmd.build -b html . _build/html --doctree-dir _build/doctrees --jobs auto --warning-file _build/sphinx-warnings.log --verbose
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
Write-Host -ForegroundColor DarkYellow "[live][DOC] Documentation finished"
|
Write-Host -ForegroundColor DarkYellow "[live][DOC] Documentation finished"
|
||||||
}
|
}
|
||||||
@@ -128,8 +126,7 @@ elseif ($doc)
|
|||||||
|
|
||||||
# Compile documentation
|
# Compile documentation
|
||||||
$compileDocFunc = {
|
$compileDocFunc = {
|
||||||
cd doc
|
.\doc\make.bat html --verbose
|
||||||
py -3.14 -m sphinx.cmd.build -b html . _build/html --doctree-dir _build/doctrees --jobs auto --warning-file _build/sphinx-warnings.log --verbose
|
|
||||||
}
|
}
|
||||||
$docJob = Start-Job -Name "Documentation" -ScriptBlock $compileDocFunc
|
$docJob = Start-Job -Name "Documentation" -ScriptBlock $compileDocFunc
|
||||||
# $jobs += $docJob
|
# $jobs += $docJob
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -11,7 +11,7 @@
|
|||||||
# #
|
# #
|
||||||
# License: #
|
# License: #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2017-2026 Patrick Lehmann - Bötzingen, Germany #
|
# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
# #
|
# #
|
||||||
# License: #
|
# License: #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2017-2026 Patrick Lehmann - Bötzingen, Germany #
|
# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -44,55 +44,55 @@ if __name__ == "__main__": # pragma: no cover
|
|||||||
|
|
||||||
class PlatformTesting(TestCase):
|
class PlatformTesting(TestCase):
|
||||||
@mark.skipif(not CurrentPlatform.IsNativeLinux, reason="Skipped, if current platform isn't native Linux.")
|
@mark.skipif(not CurrentPlatform.IsNativeLinux, reason="Skipped, if current platform isn't native Linux.")
|
||||||
def test_ApplicationOnNativeLinux(self) -> None:
|
def test_ApplicationOnNativeLinux(self):
|
||||||
app = Application()
|
app = Application()
|
||||||
|
|
||||||
self.assertEqual(1, app.Value)
|
self.assertEqual(1, app.Value)
|
||||||
|
|
||||||
@mark.skipif(not CurrentPlatform.IsNativeMacOS, reason="Skipped, if current platform isn't native macOS.")
|
@mark.skipif(not CurrentPlatform.IsNativeMacOS, reason="Skipped, if current platform isn't native macOS.")
|
||||||
def test_ApplicationOnNativeMacOS(self) -> None:
|
def test_ApplicationOnNativeMacOS(self):
|
||||||
app = Application()
|
app = Application()
|
||||||
|
|
||||||
self.assertEqual(2, app.Value)
|
self.assertEqual(2, app.Value)
|
||||||
|
|
||||||
@mark.skipif(not CurrentPlatform.IsNativeWindows, reason="Skipped, if current platform isn't native Windows.")
|
@mark.skipif(not CurrentPlatform.IsNativeWindows, reason="Skipped, if current platform isn't native Windows.")
|
||||||
def test_ApplicationOnNativeWindows(self) -> None:
|
def test_ApplicationOnNativeWindows(self):
|
||||||
app = Application()
|
app = Application()
|
||||||
|
|
||||||
self.assertEqual(3, app.Value)
|
self.assertEqual(3, app.Value)
|
||||||
|
|
||||||
@mark.skipif(not CurrentPlatform.IsMSYSOnWindows, reason="Skipped, if current platform isn't MSYS on Windows.")
|
@mark.skipif(not CurrentPlatform.IsMSYSOnWindows, reason="Skipped, if current platform isn't MSYS on Windows.")
|
||||||
def test_ApplicationOnMSYS2OnWindows(self) -> None:
|
def test_ApplicationOnMSYS2OnWindows(self):
|
||||||
app = Application()
|
app = Application()
|
||||||
|
|
||||||
self.assertEqual(11, app.Value)
|
self.assertEqual(11, app.Value)
|
||||||
|
|
||||||
@mark.skipif(not CurrentPlatform.IsMinGW32OnWindows, reason="Skipped, if current platform isn't MinGW32 on Windows.")
|
@mark.skipif(not CurrentPlatform.IsMinGW32OnWindows, reason="Skipped, if current platform isn't MinGW32 on Windows.")
|
||||||
def test_ApplicationOnMinGW32OnWindows(self) -> None:
|
def test_ApplicationOnMinGW32OnWindows(self):
|
||||||
app = Application()
|
app = Application()
|
||||||
|
|
||||||
self.assertEqual(12, app.Value)
|
self.assertEqual(12, app.Value)
|
||||||
|
|
||||||
@mark.skipif(not CurrentPlatform.IsMinGW64OnWindows, reason="Skipped, if current platform isn't MinGW64 on Windows.")
|
@mark.skipif(not CurrentPlatform.IsMinGW64OnWindows, reason="Skipped, if current platform isn't MinGW64 on Windows.")
|
||||||
def test_ApplicationOnMinGW64OnWindows(self) -> None:
|
def test_ApplicationOnMinGW64OnWindows(self):
|
||||||
app = Application()
|
app = Application()
|
||||||
|
|
||||||
self.assertEqual(13, app.Value)
|
self.assertEqual(13, app.Value)
|
||||||
|
|
||||||
@mark.skipif(not CurrentPlatform.IsUCRT64OnWindows, reason="Skipped, if current platform isn't UCRT64 on Windows.")
|
@mark.skipif(not CurrentPlatform.IsUCRT64OnWindows, reason="Skipped, if current platform isn't UCRT64 on Windows.")
|
||||||
def test_ApplicationOnURTC64OnWindows(self) -> None:
|
def test_ApplicationOnURTC64OnWindows(self):
|
||||||
app = Application()
|
app = Application()
|
||||||
|
|
||||||
self.assertEqual(14, app.Value)
|
self.assertEqual(14, app.Value)
|
||||||
|
|
||||||
@mark.skipif(not CurrentPlatform.IsClang32OnWindows, reason="Skipped, if current platform isn't Clang32 on Windows.")
|
@mark.skipif(not CurrentPlatform.IsClang32OnWindows, reason="Skipped, if current platform isn't Clang32 on Windows.")
|
||||||
def test_ApplicationOnClang32OnWindows(self) -> None:
|
def test_ApplicationOnClang32OnWindows(self):
|
||||||
app = Application()
|
app = Application()
|
||||||
|
|
||||||
self.assertEqual(15, app.Value)
|
self.assertEqual(15, app.Value)
|
||||||
|
|
||||||
@mark.skipif(not CurrentPlatform.IsClang64OnWindows, reason="Skipped, if current platform isn't Clang64 on Windows.")
|
@mark.skipif(not CurrentPlatform.IsClang64OnWindows, reason="Skipped, if current platform isn't Clang64 on Windows.")
|
||||||
def test_ApplicationOnClang64OnWindows(self) -> None:
|
def test_ApplicationOnClang64OnWindows(self):
|
||||||
app = Application()
|
app = Application()
|
||||||
|
|
||||||
self.assertEqual(16, app.Value)
|
self.assertEqual(16, app.Value)
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
# #
|
# #
|
||||||
# License: #
|
# License: #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2017-2026 Patrick Lehmann - Bötzingen, Germany #
|
# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
@@ -34,7 +34,7 @@ from myPackage import Application
|
|||||||
|
|
||||||
|
|
||||||
class Instantiation(TestCase):
|
class Instantiation(TestCase):
|
||||||
def test_Application(self) -> None:
|
def test_Application(self):
|
||||||
app = Application()
|
app = Application()
|
||||||
|
|
||||||
self.assertGreater(app.Value, 0)
|
self.assertGreater(app.Value, 0)
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
# #
|
# #
|
||||||
# License: #
|
# License: #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2017-2026 Patrick Lehmann - Bötzingen, Germany #
|
# Copyright 2017-2025 Patrick Lehmann - Bötzingen, Germany #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# Unai Martinez-Corral #
|
# Unai Martinez-Corral #
|
||||||
# #
|
# #
|
||||||
# ==================================================================================================================== #
|
# ==================================================================================================================== #
|
||||||
# Copyright 2020-2026 The pyTooling Authors #
|
# Copyright 2020-2025 The pyTooling Authors #
|
||||||
# #
|
# #
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
# Licensed under the Apache License, Version 2.0 (the "License"); #
|
||||||
# you may not use this file except in compliance with the License. #
|
# you may not use this file except in compliance with the License. #
|
||||||
|
|||||||
Reference in New Issue
Block a user