Compare commits

..

48 Commits

Author SHA1 Message Date
Patrick Lehmann
74afc5a42a Merge branch 'main' into r1 2024-08-06 10:33:22 +02:00
Patrick Lehmann
5dc19a5d65 Merge branch 'cherry-picking' 2024-08-06 10:12:18 +02:00
Patrick Lehmann
188feb556b Fixed next expected parameter set. 2024-08-06 10:11:02 +02:00
Patrick Lehmann
d58db55086 Improved actual vs. expected prints. 2024-08-06 10:05:14 +02:00
Patrick Lehmann
ee9a3fbdcd Remove macOS with Python 3.8, 3.9 from expected list. 2024-08-06 09:54:41 +02:00
Patrick Lehmann
8dfc484c42 Merge branch 'cherry-picking' 2024-08-06 09:44:19 +02:00
Patrick Lehmann
960b7089e7 Fixed import problem.
(cherry picked from commit 33b99a3b4e)
2024-08-06 09:44:05 +02:00
Patrick Lehmann
706ef39595 Merge branch 'fix-releaser' 2024-08-06 09:34:17 +02:00
Patrick Lehmann
04881fc4ca fix(releaser): Use '--break-system-packages' only for Ubuntu 24.04.
(cherry picked from commit e444e57112)
2024-08-06 09:33:12 +02:00
Patrick Lehmann
2e5a79e0c2 Merge remote-tracking branch 'github/main' into r1 2024-07-30 07:35:49 +02:00
Patrick Lehmann
0495bfb18c fix(releaser): fix failure to install PyGithub (#81) 2024-07-30 07:32:15 +02:00
Silverlan
7879c05ab7 fix(releaser): fix failure to install PyGithub
This fixes the error message:
× This environment is externally managed
2024-05-28 17:39:29 +02:00
Patrick Lehmann
db99e35dec v1.0.5 2024-04-24 23:07:34 +02:00
Patrick Lehmann
e9d0dc3dba v1.0.5 2024-04-24 23:06:13 +02:00
Patrick Lehmann
f9a74102d9 Avoid warning from geekyeggo/delete-artifact@v5. 2024-04-24 23:03:40 +02:00
Patrick Lehmann
b33e0f2782 Bumped dependencies. 2024-04-24 23:03:08 +02:00
Patrick Lehmann
6cfc6e0f8f Merge branch 'main' into r1 2024-04-24 00:42:05 +02:00
Patrick Lehmann
ae32d20719 Merge branch 'dev' 2024-04-24 00:41:32 +02:00
Patrick Lehmann
c3c6a09a9b Fixed syntax error. 2024-04-24 00:41:14 +02:00
Patrick Lehmann
5adddda1a1 Merge remote-tracking branch 'github/main' into r1 2024-04-24 00:32:50 +02:00
Patrick Lehmann
87fa2b693a v1.0.3 2024-04-24 00:32:05 +02:00
Patrick Lehmann
be27e58d8c Also handle pypy versions. 2024-04-24 00:30:55 +02:00
Patrick Lehmann
6d039bba90 v1.0.2 2024-04-23 23:56:28 +02:00
Patrick Lehmann
0753edca95 Bumped dependency geekyeggo/delete-artifact. 2024-04-23 23:47:40 +02:00
Patrick Lehmann
461931099a Added a minimum Python version field, so unsupported Python versions (e.g. for macOS) can be disabled. 2024-04-23 23:30:26 +02:00
Patrick Lehmann
0802f6d02f Bumped dependencies. 2024-04-23 23:27:42 +02:00
Patrick Lehmann
3b95a36955 Upgrade with-post-step action to run using the Node.js 20.x runtime 2024-03-27 18:17:23 +01:00
Erich Soares Machado
583eed8c84 Upgrade with-post-step action to run using the Node.js 20.x runtime 2024-03-27 10:48:02 -04:00
Patrick Lehmann
0e567aebc4 Added more packages to the list of Python pacboy packages. 2024-03-18 00:19:13 +01:00
Patrick Lehmann
91289c4257 v1.0.1 2024-02-01 00:24:24 +01:00
Patrick Lehmann
60281e01e2 v1.0.1 2024-02-01 00:22:26 +01:00
Patrick Lehmann
fc9ddee4e2 Updated to CodeCov action v4. 2024-02-01 00:21:04 +01:00
Patrick Lehmann
527e94b245 v1.0.0 2024-01-19 01:18:27 +01:00
umarcor
f11c335674 v0.4.6 2023-02-26 17:46:26 +01:00
umarcor
5bed864443 v0.4.5 2022-11-08 03:26:27 +01:00
Unai Martinez-Corral
37ec436eb4 v0.4.4 2022-11-08 00:06:47 +00:00
umarcor
6a7a4212c3 v0.4.3 2022-03-02 23:51:16 +01:00
umarcor
f5b6f17d4e v0.4.2 2022-02-22 21:48:31 +01:00
umarcor
883238547a v0.4.1 2022-01-17 01:30:55 +01:00
umarcor
7cd852db58 v0.4.0 2022-01-09 20:58:38 +01:00
umarcor
ce0d30fe3f v0.3.0 2021-12-26 01:45:35 +01:00
umarcor
34dacf7bcf v0.2.3 2021-12-21 01:03:20 +01:00
umarcor
48090e113d v0.2.2 2021-12-20 20:47:43 +01:00
umarcor
e082d77e7a v0.2.1 2021-12-16 07:40:36 +01:00
umarcor
181035b0ba v0.2.0 2021-12-16 07:18:39 +01:00
Patrick Lehmann
643f95bbb6 v0.1.0 2021-12-07 20:50:03 +01:00
umarcor
424b75ca96 v0.0.1 2021-12-07 03:39:33 +01:00
umarcor
f0610331b9 v0.0.0 2021-12-01 00:03:09 +01:00
18 changed files with 211 additions and 145 deletions

View File

@@ -36,23 +36,19 @@ on:
type: string type: string
jobs: jobs:
ArtifactCleanUp: ArtifactCleanUp:
name: 🗑️ Artifact Cleanup name: 🗑️ Artifact Cleanup
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 🗑️ Delete package Artifacts - name: 🗑️ Delete package Artifacts
if: ${{ ! startsWith(github.ref, 'refs/tags') }} if: ${{ ! startsWith(github.ref, 'refs/tags') }}
uses: geekyeggo/delete-artifact@v4 uses: geekyeggo/delete-artifact@v5
with: with:
name: ${{ inputs.package }} name: ${{ inputs.package }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: 🗑️ Delete remaining Artifacts - name: 🗑️ Delete remaining Artifacts
if: ${{ inputs.remaining != '' }} if: ${{ inputs.remaining != '' }}
uses: geekyeggo/delete-artifact@v4 uses: geekyeggo/delete-artifact@v5
with: with:
name: ${{ inputs.remaining }} name: ${{ inputs.remaining }}
token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -47,10 +47,10 @@ jobs:
- name: ⏬ Checkout repository - name: ⏬ Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: 🐍 Setup Python 3.11 - name: 🐍 Setup Python ${{ inputs.python_version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: "3.11" python-version: ${{ inputs.python_version }}
- name: 🔧 Install wheel,tomli and pip dependencies (native) - name: 🔧 Install wheel,tomli and pip dependencies (native)
run: | run: |

View File

@@ -39,17 +39,15 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 🗑️ Delete SQLite coverage artifacts from matrix jobs - name: 🗑️ Delete SQLite coverage artifacts from matrix jobs
uses: geekyeggo/delete-artifact@v4 uses: geekyeggo/delete-artifact@v5
if: inputs.sqlite_coverage_artifacts_prefix != '' if: inputs.sqlite_coverage_artifacts_prefix != ''
continue-on-error: true continue-on-error: true
with: with:
name: ${{ inputs.sqlite_coverage_artifacts_prefix }}* name: ${{ inputs.sqlite_coverage_artifacts_prefix }}*
token: ${{ secrets.GITHUB_TOKEN }}
- name: 🗑️ Delete XML coverage artifacts from matrix jobs - name: 🗑️ Delete XML coverage artifacts from matrix jobs
uses: geekyeggo/delete-artifact@v4 uses: geekyeggo/delete-artifact@v5
if: inputs.xml_unittest_artifacts_prefix != '' if: inputs.xml_unittest_artifacts_prefix != ''
continue-on-error: true continue-on-error: true
with: with:
name: ${{ inputs.xml_unittest_artifacts_prefix }}* name: ${{ inputs.xml_unittest_artifacts_prefix }}*
token: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -140,6 +140,7 @@ jobs:
for disable in disabled: for disable in disabled:
print(f"::warning title=Disabled Python Job::System '{disable}' temporary disabled.") print(f"::warning title=Disabled Python Job::System '{disable}' temporary disabled.")
# see https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
data = { data = {
# Python and PyPy versions supported by "setup-python" action # Python and PyPy versions supported by "setup-python" action
"python": { "python": {
@@ -157,9 +158,9 @@ jobs:
}, },
# Runner systems (runner images) supported by GitHub Actions # Runner systems (runner images) supported by GitHub Actions
"sys": { "sys": {
"ubuntu": { "icon": "🐧", "runs-on": "ubuntu-latest", "shell": "bash", "name": "Linux (x86-64)" }, "ubuntu": { "icon": "🐧", "runs-on": "ubuntu-latest", "shell": "bash", "name": "Linux (x86-64)", "minPy": (3, 7)},
"windows": { "icon": "🪟", "runs-on": "windows-latest", "shell": "pwsh", "name": "Windows (x86-64)" }, "windows": { "icon": "🪟", "runs-on": "windows-latest", "shell": "pwsh", "name": "Windows (x86-64)", "minPy": (3, 7)},
"macos": { "icon": "🍎", "runs-on": "macos-latest", "shell": "bash", "name": "MacOS (x86-64)" }, "macos": { "icon": "🍎", "runs-on": "macos-latest", "shell": "bash", "name": "MacOS (x86-64)", "minPy": (3, 10)},
}, },
# Runtimes provided by MSYS2 # Runtimes provided by MSYS2
"runtime": { "runtime": {
@@ -182,12 +183,17 @@ jobs:
for disable in disabled: for disable in disabled:
print(f"- {disable}") print(f"- {disable}")
def toVersion(value):
major, minor = value.split(".")
return int(major[-1]), int(minor)
combinations = [ combinations = [
(system, version) (system, version)
for system in systems for system in systems
if system in data["sys"] if system in data["sys"]
for version in versions for version in versions
if version in data["python"] if version in data["python"]
and toVersion(version) >= data["sys"][system]["minPy"]
and f"{system}:{version}" not in excludes and f"{system}:{version}" not in excludes
and f"{system}:{version}" not in disabled and f"{system}:{version}" not in disabled
] + [ ] + [
@@ -201,6 +207,7 @@ jobs:
for system, version in includes for system, version in includes
if system in data["sys"] if system in data["sys"]
and version in data["python"] and version in data["python"]
and toVersion(version) >= data["sys"][system]["minPy"]
and f"{system}:{version}" not in disabled and f"{system}:{version}" not in disabled
] ]
print(f"Combinations ({len(combinations)}):") print(f"Combinations ({len(combinations)}):")

View File

@@ -199,7 +199,7 @@ jobs:
- name: 📊 Publish code coverage at CodeCov - name: 📊 Publish code coverage at CodeCov
if: inputs.CodeCov == true if: inputs.CodeCov == true
continue-on-error: true continue-on-error: true
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v4
with: with:
files: ${{ steps.getVariables.outputs.coverage_report_xml }} files: ${{ steps.getVariables.outputs.coverage_report_xml }}
flags: unittests flags: unittests

View File

@@ -78,6 +78,6 @@ jobs:
run: twine upload dist/*.whl run: twine upload dist/*.whl
- name: 🗑️ Delete packaging Artifacts - name: 🗑️ Delete packaging Artifacts
uses: geekyeggo/delete-artifact@v4 uses: geekyeggo/delete-artifact@v5
with: with:
name: ${{ inputs.artifact }} name: ${{ inputs.artifact }}

View File

@@ -165,11 +165,13 @@ jobs:
"sphinx": "python-markupsafe:p", "sphinx": "python-markupsafe:p",
"tomli": "python-tomli:p", "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.Reports": "python-ruamel-yaml:p python-ruamel.yaml.clib:p python-lxml:p",
} }
subPackages = { subPackages = {
"pytooling": { "pytooling": {
"yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p", "yaml": "python-ruamel-yaml:p python-ruamel.yaml.clib:p",
} },
} }
regExp = compile(r"(?P<PackageName>[\w_\-\.]+)(?:\[(?P<SubPackages>(?:\w+)(?:\s*,\s*\w+)*)\])?(?:\s*(?P<Comperator>[<>~=]+)\s*)(?P<Version>\d+(?:\.\d+)*)(?:-(?P<VersionExtension>\w+))?") regExp = compile(r"(?P<PackageName>[\w_\-\.]+)(?:\[(?P<SubPackages>(?:\w+)(?:\s*,\s*\w+)*)\])?(?:\s*(?P<Comperator>[<>~=]+)\s*)(?P<Version>\d+(?:\.\d+)*)(?:-(?P<VersionExtension>\w+))?")

View File

@@ -6,7 +6,7 @@ on:
jobs: jobs:
Params: Params:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
with: with:
name: Example name: Example
python_version_list: "3.10 3.11" python_version_list: "3.10 3.11"
@@ -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@r1
needs: needs:
- Params - Params
- Testing - Testing

View File

@@ -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@r1
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@r1
with: with:
name: Example name: Example
python_version_list: "3.9 3.10 pypy-3.8 pypy-3.9" python_version_list: "3.9 3.10 pypy-3.8 pypy-3.9"
Params_Systems: Params_Systems:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
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@r1
with: with:
name: Example name: Example
python_version_list: "3.10" python_version_list: "3.10"
@@ -31,7 +31,7 @@ jobs:
include_list: "ubuntu:3.11 ubuntu:3.12" include_list: "ubuntu:3.11 ubuntu:3.12"
Params_Exclude: Params_Exclude:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
with: with:
name: Example name: Example
python_version_list: "3.10" python_version_list: "3.10"
@@ -39,7 +39,7 @@ jobs:
exclude_list: "windows:3.10 windows:3.11" exclude_list: "windows:3.10 windows:3.11"
Params_Disable: Params_Disable:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
with: with:
name: Example name: Example
python_version_list: "3.10" python_version_list: "3.10"
@@ -47,7 +47,7 @@ jobs:
disable_list: "windows:3.10 windows:3.11" disable_list: "windows:3.10 windows:3.11"
Params_All: Params_All:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
with: with:
name: Example name: Example
python_version_list: "3.10 3.11" python_version_list: "3.10 3.11"
@@ -80,22 +80,28 @@ jobs:
from pyTooling.Common import zipdicts from pyTooling.Common import zipdicts
expectedPythonVersion = "3.11" expectedPythonVersion = "3.12"
expectedPythons = ["3.8", "3.9", "3.10", "3.11"] expectedPythons = ["3.8", "3.9", "3.10", "3.11", "3.12"]
expectedSystems = ["ubuntu", "windows", "macos"] expectedSystems = ["ubuntu", "windows", "macos"]
expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] + ["mingw64:3.10"] expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] + ["mingw64:3.11", "ucrt64:3.11"]
expectedJobs.remove("macos:3.8")
expectedJobs.remove("macos:3.9")
expectedName = "Example" expectedName = "Example"
expectedArtifacts = { expectedArtifacts = {
"unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML", "unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML",
"perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML", "unittesting_html": f"{expectedName}-UnitTestReportSummary-HTML",
"benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML", "perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML",
"apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML", "benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML",
"codecoverage_xml": f"{expectedName}-CodeCoverage-XML", "apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML",
"codecoverage_html": f"{expectedName}-CodeCoverage-HTML", "codecoverage_sqlite": f"{expectedName}-CodeCoverage-SQLite",
"statictyping_html": f"{expectedName}-StaticTyping-HTML", "codecoverage_xml": f"{expectedName}-CodeCoverage-XML",
"package_all": f"{expectedName}-Packages", "codecoverage_json": f"{expectedName}-CodeCoverage-JSON",
"documentation_pdf": f"{expectedName}-Documentation-PDF", "codecoverage_html": f"{expectedName}-CodeCoverage-HTML",
"documentation_html": f"{expectedName}-Documentation-HTML", "statictyping_html": f"{expectedName}-StaticTyping-HTML",
"package_all": f"{expectedName}-Packages",
"documentation_html": f"{expectedName}-Documentation-HTML",
"documentation_latex": f"{expectedName}-Documentation-LaTeX",
"documentation_pdf": f"{expectedName}-Documentation-PDF",
} }
actualPythonVersion = """${{ needs.Params_Default.outputs.python_version }}""" actualPythonVersion = """${{ needs.Params_Default.outputs.python_version }}"""
@@ -108,8 +114,12 @@ jobs:
errors += 1 errors += 1
if len(actualPythonJobs) != len(expectedJobs): if len(actualPythonJobs) != len(expectedJobs):
print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.") print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.")
print("Actual jobs:")
for job in actualPythonJobs: for job in actualPythonJobs:
print(f" {job['system']}:{job['python']}") print(f" {job['system']}:{job['python']}")
print("Expected jobs:")
for job in expectedJobs:
print(f" {job}")
errors += 1 errors += 1
if len(actualArtifactNames) != len(expectedArtifacts): if len(actualArtifactNames) != len(expectedArtifacts):
print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.") print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.")
@@ -132,22 +142,29 @@ jobs:
from pyTooling.Common import zipdicts from pyTooling.Common import zipdicts
expectedPythonVersion = "3.11" expectedPythonVersion = "3.12"
expectedPythons = ["3.9", "3.10", "pypy-3.8", "pypy-3.9"] expectedPythons = ["3.9", "3.10", "pypy-3.8", "pypy-3.9"]
expectedSystems = ["ubuntu", "windows", "macos"] expectedSystems = ["ubuntu", "windows", "macos"]
expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] + ["mingw64:3.10"] expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] + ["mingw64:3.11", "ucrt64:3.11"]
expectedJobs.remove("macos:3.9")
expectedJobs.remove("macos:pypy-3.8")
expectedJobs.remove("macos:pypy-3.9")
expectedName = "Example" expectedName = "Example"
expectedArtifacts = { expectedArtifacts = {
"unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML", "unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML",
"perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML", "unittesting_html": f"{expectedName}-UnitTestReportSummary-HTML",
"benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML", "perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML",
"apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML", "benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML",
"codecoverage_xml": f"{expectedName}-CodeCoverage-XML", "apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML",
"codecoverage_html": f"{expectedName}-CodeCoverage-HTML", "codecoverage_sqlite": f"{expectedName}-CodeCoverage-SQLite",
"statictyping_html": f"{expectedName}-StaticTyping-HTML", "codecoverage_xml": f"{expectedName}-CodeCoverage-XML",
"package_all": f"{expectedName}-Packages", "codecoverage_json": f"{expectedName}-CodeCoverage-JSON",
"documentation_pdf": f"{expectedName}-Documentation-PDF", "codecoverage_html": f"{expectedName}-CodeCoverage-HTML",
"documentation_html": f"{expectedName}-Documentation-HTML", "statictyping_html": f"{expectedName}-StaticTyping-HTML",
"package_all": f"{expectedName}-Packages",
"documentation_html": f"{expectedName}-Documentation-HTML",
"documentation_latex": f"{expectedName}-Documentation-LaTeX",
"documentation_pdf": f"{expectedName}-Documentation-PDF",
} }
actualPythonVersion = """${{ needs.Params_PythonVersions.outputs.python_version }}""" actualPythonVersion = """${{ needs.Params_PythonVersions.outputs.python_version }}"""
@@ -160,8 +177,12 @@ jobs:
errors += 1 errors += 1
if len(actualPythonJobs) != len(expectedJobs): if len(actualPythonJobs) != len(expectedJobs):
print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.") print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.")
print("Actual jobs:")
for job in actualPythonJobs: for job in actualPythonJobs:
print(f" {job['system']}:{job['python']}") print(f" {job['system']}:{job['python']}")
print("Expected jobs:")
for job in expectedJobs:
print(f" {job}")
errors += 1 errors += 1
if len(actualArtifactNames) != len(expectedArtifacts): if len(actualArtifactNames) != len(expectedArtifacts):
print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.") print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.")
@@ -184,22 +205,26 @@ jobs:
from pyTooling.Common import zipdicts from pyTooling.Common import zipdicts
expectedPythonVersion = "3.11" expectedPythonVersion = "3.12"
expectedPythons = ["3.8", "3.9", "3.10", "3.11"] expectedPythons = ["3.8", "3.9", "3.10", "3.11", "3.12"]
expectedSystems = ["windows"] expectedSystems = ["windows"]
expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] + ["mingw32:3.10", "mingw64:3.10"] expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] + ["mingw32:3.11", "mingw64:3.11"]
expectedName = "Example" expectedName = "Example"
expectedArtifacts = { expectedArtifacts = {
"unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML", "unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML",
"perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML", "unittesting_html": f"{expectedName}-UnitTestReportSummary-HTML",
"benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML", "perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML",
"apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML", "benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML",
"codecoverage_xml": f"{expectedName}-CodeCoverage-XML", "apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML",
"codecoverage_html": f"{expectedName}-CodeCoverage-HTML", "codecoverage_sqlite": f"{expectedName}-CodeCoverage-SQLite",
"statictyping_html": f"{expectedName}-StaticTyping-HTML", "codecoverage_xml": f"{expectedName}-CodeCoverage-XML",
"package_all": f"{expectedName}-Packages", "codecoverage_json": f"{expectedName}-CodeCoverage-JSON",
"documentation_pdf": f"{expectedName}-Documentation-PDF", "codecoverage_html": f"{expectedName}-CodeCoverage-HTML",
"documentation_html": f"{expectedName}-Documentation-HTML", "statictyping_html": f"{expectedName}-StaticTyping-HTML",
"package_all": f"{expectedName}-Packages",
"documentation_html": f"{expectedName}-Documentation-HTML",
"documentation_latex": f"{expectedName}-Documentation-LaTeX",
"documentation_pdf": f"{expectedName}-Documentation-PDF",
} }
actualPythonVersion = """${{ needs.Params_Systems.outputs.python_version }}""" actualPythonVersion = """${{ needs.Params_Systems.outputs.python_version }}"""
@@ -212,8 +237,12 @@ jobs:
errors += 1 errors += 1
if len(actualPythonJobs) != len(expectedJobs): if len(actualPythonJobs) != len(expectedJobs):
print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.") print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.")
print("Actual jobs:")
for job in actualPythonJobs: for job in actualPythonJobs:
print(f" {job['system']}:{job['python']}") print(f" {job['system']}:{job['python']}")
print("Expected jobs:")
for job in expectedJobs:
print(f" {job}")
errors += 1 errors += 1
if len(actualArtifactNames) != len(expectedArtifacts): if len(actualArtifactNames) != len(expectedArtifacts):
print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.") print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.")
@@ -236,22 +265,26 @@ jobs:
from pyTooling.Common import zipdicts from pyTooling.Common import zipdicts
expectedPythonVersion = "3.11" expectedPythonVersion = "3.12"
expectedPythons = ["3.10"] expectedPythons = ["3.10"]
expectedSystems = ["ubuntu", "windows", "macos"] expectedSystems = ["ubuntu", "windows", "macos"]
expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] + ["ubuntu:3.11", "ubuntu:3.12"] expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] + ["ubuntu:3.11", "ubuntu:3.12"]
expectedName = "Example" expectedName = "Example"
expectedArtifacts = { expectedArtifacts = {
"unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML", "unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML",
"perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML", "unittesting_html": f"{expectedName}-UnitTestReportSummary-HTML",
"benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML", "perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML",
"apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML", "benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML",
"codecoverage_xml": f"{expectedName}-CodeCoverage-XML", "apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML",
"codecoverage_html": f"{expectedName}-CodeCoverage-HTML", "codecoverage_sqlite": f"{expectedName}-CodeCoverage-SQLite",
"statictyping_html": f"{expectedName}-StaticTyping-HTML", "codecoverage_xml": f"{expectedName}-CodeCoverage-XML",
"package_all": f"{expectedName}-Packages", "codecoverage_json": f"{expectedName}-CodeCoverage-JSON",
"documentation_pdf": f"{expectedName}-Documentation-PDF", "codecoverage_html": f"{expectedName}-CodeCoverage-HTML",
"documentation_html": f"{expectedName}-Documentation-HTML", "statictyping_html": f"{expectedName}-StaticTyping-HTML",
"package_all": f"{expectedName}-Packages",
"documentation_html": f"{expectedName}-Documentation-HTML",
"documentation_latex": f"{expectedName}-Documentation-LaTeX",
"documentation_pdf": f"{expectedName}-Documentation-PDF",
} }
actualPythonVersion = """${{ needs.Params_Include.outputs.python_version }}""" actualPythonVersion = """${{ needs.Params_Include.outputs.python_version }}"""
@@ -264,8 +297,12 @@ jobs:
errors += 1 errors += 1
if len(actualPythonJobs) != len(expectedJobs): if len(actualPythonJobs) != len(expectedJobs):
print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.") print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.")
print("Actual jobs:")
for job in actualPythonJobs: for job in actualPythonJobs:
print(f" {job['system']}:{job['python']}") print(f" {job['system']}:{job['python']}")
print("Expected jobs:")
for job in expectedJobs:
print(f" {job}")
errors += 1 errors += 1
if len(actualArtifactNames) != len(expectedArtifacts): if len(actualArtifactNames) != len(expectedArtifacts):
print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.") print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.")
@@ -288,22 +325,26 @@ jobs:
from pyTooling.Common import zipdicts from pyTooling.Common import zipdicts
expectedPythonVersion = "3.11" expectedPythonVersion = "3.12"
expectedPythons = ["3.10"] expectedPythons = ["3.10"]
expectedSystems = ["ubuntu", "macos"] expectedSystems = ["ubuntu", "macos"]
expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons]
expectedName = "Example" expectedName = "Example"
expectedArtifacts = { expectedArtifacts = {
"unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML", "unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML",
"perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML", "unittesting_html": f"{expectedName}-UnitTestReportSummary-HTML",
"benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML", "perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML",
"apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML", "benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML",
"codecoverage_xml": f"{expectedName}-CodeCoverage-XML", "apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML",
"codecoverage_html": f"{expectedName}-CodeCoverage-HTML", "codecoverage_sqlite": f"{expectedName}-CodeCoverage-SQLite",
"statictyping_html": f"{expectedName}-StaticTyping-HTML", "codecoverage_xml": f"{expectedName}-CodeCoverage-XML",
"package_all": f"{expectedName}-Packages", "codecoverage_json": f"{expectedName}-CodeCoverage-JSON",
"documentation_pdf": f"{expectedName}-Documentation-PDF", "codecoverage_html": f"{expectedName}-CodeCoverage-HTML",
"documentation_html": f"{expectedName}-Documentation-HTML", "statictyping_html": f"{expectedName}-StaticTyping-HTML",
"package_all": f"{expectedName}-Packages",
"documentation_html": f"{expectedName}-Documentation-HTML",
"documentation_latex": f"{expectedName}-Documentation-LaTeX",
"documentation_pdf": f"{expectedName}-Documentation-PDF",
} }
actualPythonVersion = """${{ needs.Params_Exclude.outputs.python_version }}""" actualPythonVersion = """${{ needs.Params_Exclude.outputs.python_version }}"""
@@ -316,8 +357,12 @@ jobs:
errors += 1 errors += 1
if len(actualPythonJobs) != len(expectedJobs): if len(actualPythonJobs) != len(expectedJobs):
print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.") print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.")
print("Actual jobs:")
for job in actualPythonJobs: for job in actualPythonJobs:
print(f" {job['system']}:{job['python']}") print(f" {job['system']}:{job['python']}")
print("Expected jobs:")
for job in expectedJobs:
print(f" {job}")
errors += 1 errors += 1
if len(actualArtifactNames) != len(expectedArtifacts): if len(actualArtifactNames) != len(expectedArtifacts):
print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.") print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.")
@@ -340,22 +385,26 @@ jobs:
from pyTooling.Common import zipdicts from pyTooling.Common import zipdicts
expectedPythonVersion = "3.11" expectedPythonVersion = "3.12"
expectedPythons = ["3.10"] expectedPythons = ["3.10"]
expectedSystems = ["ubuntu", "macos"] expectedSystems = ["ubuntu", "macos"]
expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons]
expectedName = "Example" expectedName = "Example"
expectedArtifacts = { expectedArtifacts = {
"unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML", "unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML",
"perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML", "unittesting_html": f"{expectedName}-UnitTestReportSummary-HTML",
"benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML", "perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML",
"apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML", "benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML",
"codecoverage_xml": f"{expectedName}-CodeCoverage-XML", "apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML",
"codecoverage_html": f"{expectedName}-CodeCoverage-HTML", "codecoverage_sqlite": f"{expectedName}-CodeCoverage-SQLite",
"statictyping_html": f"{expectedName}-StaticTyping-HTML", "codecoverage_xml": f"{expectedName}-CodeCoverage-XML",
"package_all": f"{expectedName}-Packages", "codecoverage_json": f"{expectedName}-CodeCoverage-JSON",
"documentation_pdf": f"{expectedName}-Documentation-PDF", "codecoverage_html": f"{expectedName}-CodeCoverage-HTML",
"documentation_html": f"{expectedName}-Documentation-HTML", "statictyping_html": f"{expectedName}-StaticTyping-HTML",
"package_all": f"{expectedName}-Packages",
"documentation_html": f"{expectedName}-Documentation-HTML",
"documentation_latex": f"{expectedName}-Documentation-LaTeX",
"documentation_pdf": f"{expectedName}-Documentation-PDF",
} }
actualPythonVersion = """${{ needs.Params_Exclude.outputs.python_version }}""" actualPythonVersion = """${{ needs.Params_Exclude.outputs.python_version }}"""
@@ -368,8 +417,12 @@ jobs:
errors += 1 errors += 1
if len(actualPythonJobs) != len(expectedJobs): if len(actualPythonJobs) != len(expectedJobs):
print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.") print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.")
print("Actual jobs:")
for job in actualPythonJobs: for job in actualPythonJobs:
print(f" {job['system']}:{job['python']}") print(f" {job['system']}:{job['python']}")
print("Expected jobs:")
for job in expectedJobs:
print(f" {job}")
errors += 1 errors += 1
if len(actualArtifactNames) != len(expectedArtifacts): if len(actualArtifactNames) != len(expectedArtifacts):
print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.") print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.")
@@ -392,22 +445,26 @@ jobs:
from pyTooling.Common import zipdicts from pyTooling.Common import zipdicts
expectedPythonVersion = "3.11" expectedPythonVersion = "3.12"
expectedPythons = ["3.10", "3.11"] expectedPythons = ["3.10", "3.11"]
expectedSystems = ["ubuntu", "windows"] expectedSystems = ["ubuntu", "windows"]
expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] + ["windows:3.8", "windows:3.9", "windows:3.12"] expectedJobs = [f"{system}:{python}" for system in expectedSystems for python in expectedPythons] + ["windows:3.8", "windows:3.9", "windows:3.12"]
expectedName = "Example" expectedName = "Example"
expectedArtifacts = { expectedArtifacts = {
"unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML", "unittesting_xml": f"{expectedName}-UnitTestReportSummary-XML",
"perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML", "unittesting_html": f"{expectedName}-UnitTestReportSummary-HTML",
"benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML", "perftesting_xml": f"{expectedName}-PerformanceTestReportSummary-XML",
"apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML", "benchtesting_xml": f"{expectedName}-BenchmarkTestReportSummary-XML",
"codecoverage_xml": f"{expectedName}-CodeCoverage-XML", "apptesting_xml": f"{expectedName}-ApplicationTestReportSummary-XML",
"codecoverage_html": f"{expectedName}-CodeCoverage-HTML", "codecoverage_sqlite": f"{expectedName}-CodeCoverage-SQLite",
"statictyping_html": f"{expectedName}-StaticTyping-HTML", "codecoverage_xml": f"{expectedName}-CodeCoverage-XML",
"package_all": f"{expectedName}-Packages", "codecoverage_json": f"{expectedName}-CodeCoverage-JSON",
"documentation_pdf": f"{expectedName}-Documentation-PDF", "codecoverage_html": f"{expectedName}-CodeCoverage-HTML",
"documentation_html": f"{expectedName}-Documentation-HTML", "statictyping_html": f"{expectedName}-StaticTyping-HTML",
"package_all": f"{expectedName}-Packages",
"documentation_html": f"{expectedName}-Documentation-HTML",
"documentation_latex": f"{expectedName}-Documentation-LaTeX",
"documentation_pdf": f"{expectedName}-Documentation-PDF",
} }
actualPythonVersion = """${{ needs.Params_All.outputs.python_version }}""" actualPythonVersion = """${{ needs.Params_All.outputs.python_version }}"""
@@ -420,8 +477,12 @@ jobs:
errors += 1 errors += 1
if len(actualPythonJobs) != len(expectedJobs): if len(actualPythonJobs) != len(expectedJobs):
print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.") print(f"Number of 'python_jobs' does not match: {len(actualPythonJobs)} != {len(expectedJobs)}.")
print("Actual jobs:")
for job in actualPythonJobs: for job in actualPythonJobs:
print(f" {job['system']}:{job['python']}") print(f" {job['system']}:{job['python']}")
print("Expected jobs:")
for job in expectedJobs:
print(f" {job}")
errors += 1 errors += 1
if len(actualArtifactNames) != len(expectedArtifacts): if len(actualArtifactNames) != len(expectedArtifacts):
print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.") print(f"Number of 'artifact_names' does not match: {len(actualArtifactNames)} != {len(expectedArtifacts)}.")

View File

@@ -6,21 +6,21 @@ on:
jobs: jobs:
UnitTestingParams: UnitTestingParams:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
with: with:
name: pyDummy name: pyDummy
python_version_list: "3.8 3.9 3.10 3.11 3.12 pypy-3.8 pypy-3.9 pypy-3.10" python_version_list: "3.8 3.9 3.10 3.11 3.12 pypy-3.8 pypy-3.9 pypy-3.10"
disable_list: "windows:pypy-3.10" disable_list: "windows:pypy-3.10"
PlatformTestingParams: PlatformTestingParams:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev uses: pyTooling/Actions/.github/workflows/Parameters.yml@r1
with: with:
name: Platform name: Platform
python_version_list: "" python_version_list: ""
system_list: "ubuntu windows macos mingw32 mingw64 clang64 ucrt64" system_list: "ubuntu windows macos mingw32 mingw64 clang64 ucrt64"
UnitTesting: UnitTesting:
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r1
needs: needs:
- UnitTestingParams - UnitTestingParams
with: with:
@@ -33,7 +33,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@r1
needs: needs:
- PlatformTestingParams - PlatformTestingParams
with: with:
@@ -48,7 +48,7 @@ jobs:
coverage_html_artifact: ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_html }} coverage_html_artifact: ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_html }}
# Coverage: # Coverage:
# uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@dev # uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@r1
# needs: # needs:
# - UnitTestingParams # - UnitTestingParams
# with: # with:
@@ -58,7 +58,7 @@ jobs:
# codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }} # codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
StaticTypeCheck: StaticTypeCheck:
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@dev uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r1
needs: needs:
- UnitTestingParams - UnitTestingParams
with: with:
@@ -69,7 +69,7 @@ jobs:
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }} html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
PublishCoverageResults: PublishCoverageResults:
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@dev uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r1
needs: needs:
- UnitTestingParams - UnitTestingParams
- UnitTesting - UnitTesting
@@ -84,13 +84,13 @@ jobs:
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }} codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
PublishTestResults: PublishTestResults:
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r1
needs: needs:
- UnitTesting - UnitTesting
- PlatformTesting - PlatformTesting
Package: Package:
uses: pyTooling/Actions/.github/workflows/Package.yml@dev uses: pyTooling/Actions/.github/workflows/Package.yml@r1
needs: needs:
- UnitTestingParams - UnitTestingParams
- UnitTesting - UnitTesting
@@ -101,14 +101,14 @@ jobs:
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }} artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
# VerifyDocs: # VerifyDocs:
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev # uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@r1
# needs: # needs:
# - UnitTestingParams # - UnitTestingParams
# with: # with:
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }} # python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
BuildTheDocs: BuildTheDocs:
uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@dev uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@r1
needs: needs:
- UnitTestingParams - UnitTestingParams
# - VerifyDocs # - VerifyDocs
@@ -116,7 +116,7 @@ jobs:
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }} artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }}
PublishToGitHubPages: PublishToGitHubPages:
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@dev uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r1
needs: needs:
- UnitTestingParams - UnitTestingParams
- BuildTheDocs - BuildTheDocs
@@ -129,7 +129,7 @@ jobs:
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }} typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
ReleasePage: ReleasePage:
uses: pyTooling/Actions/.github/workflows/Release.yml@dev uses: pyTooling/Actions/.github/workflows/Release.yml@r1
if: startsWith(github.ref, 'refs/tags') if: startsWith(github.ref, 'refs/tags')
needs: needs:
- UnitTesting - UnitTesting
@@ -140,7 +140,7 @@ jobs:
- PublishToGitHubPages - PublishToGitHubPages
PublishOnPyPI: PublishOnPyPI:
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r1
if: startsWith(github.ref, 'refs/tags') if: startsWith(github.ref, 'refs/tags')
needs: needs:
- UnitTestingParams - UnitTestingParams
@@ -154,7 +154,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@r1
needs: needs:
- UnitTestingParams - UnitTestingParams
- PlatformTestingParams - PlatformTestingParams

View File

@@ -80,7 +80,7 @@ Documentation Only (Sphinx)
steps: steps:
- name: 🗑️ Delete artifacts - name: 🗑️ Delete artifacts
uses: geekyeggo/delete-artifact@v2 uses: geekyeggo/delete-artifact@v5
with: with:
name: Documentation name: Documentation

View File

@@ -1,10 +1,10 @@
-r ../requirements.txt -r ../requirements.txt
pyTooling ~= 6.0 pyTooling ~= 6.1
# Enforce latest version on ReadTheDocs # Enforce latest version on ReadTheDocs
sphinx >= 7.1, < 8.0 sphinx ~= 7.3
docutils >= 0.18.0, < 0.19.0 docutils ~= 0.18.0
# Sphinx Extenstions # Sphinx Extenstions
#sphinx.ext.coverage #sphinx.ext.coverage
@@ -16,5 +16,5 @@ sphinxcontrib-mermaid>=0.9.2
autoapi >= 2.0.1 autoapi >= 2.0.1
sphinx_fontawesome >= 0.0.6 sphinx_fontawesome >= 0.0.6
sphinx-inline-tabs >= 2023.4.21 sphinx-inline-tabs >= 2023.4.21
sphinx_autodoc_typehints >= 1.24.0 sphinx_autodoc_typehints ~= 2.1
# changelog>=0.3.5 # changelog>=0.3.5

View File

@@ -1,8 +1,8 @@
[build-system] [build-system]
requires = [ requires = [
"setuptools >= 69.0.0", "setuptools ~= 69.5",
"wheel >= 0.40.0", "wheel ~= 0.40.0",
"pyTooling ~= 6.0" "pyTooling ~= 6.1"
] ]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"

View File

@@ -45,7 +45,9 @@ runs:
steps: steps:
- shell: bash - shell: bash
run: pip install --disable-pip-version-check PyGithub --progress-bar off run: |
[ "$(source /etc/os-release && echo $VERSION_ID)" == "24.04" ] && UBUNTU_2404_ARGS='--break-system-packages' || unset UBUNTU_2404_ARGS
pip install --disable-pip-version-check --progress-bar off $UBUNTU_2404_ARGS PyGithub
- shell: bash - shell: bash
run: '''${{ github.action_path }}/../releaser.py''' run: '''${{ github.action_path }}/../releaser.py'''

View File

@@ -1 +1 @@
pyTooling ~= 6.0 pyTooling ~= 6.1

View File

@@ -28,12 +28,12 @@
# SPDX-License-Identifier: Apache-2.0 # # SPDX-License-Identifier: Apache-2.0 #
# ==================================================================================================================== # # ==================================================================================================================== #
# #
from unittest import TestCase from unittest import TestCase
from pytest import mark from pytest import mark
from pyTooling.Common import CurrentPlatform from pyTooling.Platform import CurrentPlatform
from pyDummy import Application from pyDummy import Application
if __name__ == "__main__": # pragma: no cover if __name__ == "__main__": # pragma: no cover

View File

@@ -1,13 +1,13 @@
-r ../requirements.txt -r ../requirements.txt
# Coverage collection # Coverage collection
Coverage >= 7.4 Coverage ~= 7.5
# Test Runner # Test Runner
pytest >= 7.4.0 pytest ~= 8.1
pytest-cov >= 4.1.0 pytest-cov ~= 5.0
# Static Type Checking # Static Type Checking
mypy >= 1.8.0 mypy ~= 1.10
typing_extensions >= 4.9.0 typing_extensions ~= 4.11
lxml >= 5.0 lxml ~= 5.1

View File

@@ -37,6 +37,6 @@ inputs:
default: POST default: POST
runs: runs:
using: 'node16' using: 'node20'
main: 'main.js' main: 'main.js'
post: 'main.js' post: 'main.js'