mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
Updated to CodeCov action v4.
This commit is contained in:
2
.github/workflows/PublishCoverageResults.yml
vendored
2
.github/workflows/PublishCoverageResults.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
206
.github/workflows/_Checking_Parameters.yml
vendored
206
.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@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,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 = ["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"]
|
||||||
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 }}"""
|
||||||
@@ -132,22 +136,26 @@ 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"]
|
||||||
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 }}"""
|
||||||
@@ -184,22 +192,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 }}"""
|
||||||
@@ -236,22 +248,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 }}"""
|
||||||
@@ -288,22 +304,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 }}"""
|
||||||
@@ -340,22 +360,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 }}"""
|
||||||
@@ -392,22 +416,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 }}"""
|
||||||
|
|||||||
30
.github/workflows/_Checking_Pipeline.yml
vendored
30
.github/workflows/_Checking_Pipeline.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user