mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-14 20:16:56 +08:00
Compare commits
58 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ce552b2b4 | ||
|
|
370c306306 | ||
|
|
c0f5c9f6e1 | ||
|
|
9581b8f22f | ||
|
|
09c9ae6ad1 | ||
|
|
b9303e750a | ||
|
|
c8fea4502c | ||
|
|
0ba5880dd0 | ||
|
|
1992fd31c6 | ||
|
|
497307f0e4 | ||
|
|
c58169077d | ||
|
|
e5f3177616 | ||
|
|
d4092fb610 | ||
|
|
29a6c4460f | ||
|
|
d85e2ee82a | ||
|
|
254c408a40 | ||
|
|
3574beff39 | ||
|
|
4b0576fe8f | ||
|
|
6fb3389c4f | ||
|
|
b1eff9ce92 | ||
|
|
13530435df | ||
|
|
f0d8a24973 | ||
|
|
a1509493ae | ||
|
|
1c22a8805e | ||
|
|
c55ff4d83f | ||
|
|
a2f2a6c0d4 | ||
|
|
9f4321b7e7 | ||
|
|
0db52d7abc | ||
|
|
5128522ede | ||
|
|
899a5f53bc | ||
|
|
5925101578 | ||
|
|
1b0acf206c | ||
|
|
a0c016bf79 | ||
|
|
40217006fd | ||
|
|
99f30dab53 | ||
|
|
1c42072471 | ||
|
|
74afc5a42a | ||
|
|
2e5a79e0c2 | ||
|
|
db99e35dec | ||
|
|
6cfc6e0f8f | ||
|
|
5adddda1a1 | ||
|
|
91289c4257 | ||
|
|
527e94b245 | ||
|
|
f11c335674 | ||
|
|
5bed864443 | ||
|
|
37ec436eb4 | ||
|
|
6a7a4212c3 | ||
|
|
f5b6f17d4e | ||
|
|
883238547a | ||
|
|
7cd852db58 | ||
|
|
ce0d30fe3f | ||
|
|
34dacf7bcf | ||
|
|
48090e113d | ||
|
|
e082d77e7a | ||
|
|
181035b0ba | ||
|
|
643f95bbb6 | ||
|
|
424b75ca96 | ||
|
|
f0610331b9 |
47
.github/workflows/ApplicationTesting.yml
vendored
47
.github/workflows/ApplicationTesting.yml
vendored
@@ -37,7 +37,7 @@ on:
|
||||
requirements:
|
||||
description: 'Python dependencies to be installed through pip.'
|
||||
required: false
|
||||
default: '-r tests/requirements.txt'
|
||||
default: '-r ./requirements.txt'
|
||||
type: string
|
||||
pacboy:
|
||||
description: 'MSYS2 dependencies to be installed through pacboy (pacman).'
|
||||
@@ -94,6 +94,39 @@ jobs:
|
||||
name: ${{ inputs.wheel }}
|
||||
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?)
|
||||
- name: Compute pacman/pacboy packages
|
||||
id: pacboy
|
||||
@@ -122,7 +155,7 @@ jobs:
|
||||
|
||||
return requirements
|
||||
|
||||
requirements = "${{ inputs.requirements }}"
|
||||
requirements = "${{ steps.requirements.outputs.requirements }}"
|
||||
if requirements.startswith("-r"):
|
||||
requirementsFile = Path(requirements[2:].lstrip())
|
||||
try:
|
||||
@@ -191,6 +224,8 @@ jobs:
|
||||
with github_output.open("a+") as f:
|
||||
f.write(f"pacboy_packages={' '.join(pacboyPackages)}\n")
|
||||
|
||||
# Python setup
|
||||
|
||||
- name: '🟦 Setup MSYS2 for ${{ matrix.runtime }}'
|
||||
uses: msys2/setup-msys2@v2
|
||||
if: matrix.system == 'msys2'
|
||||
@@ -207,6 +242,8 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python }}
|
||||
|
||||
# Python Dependency steps
|
||||
|
||||
- name: 🔧 Install wheel and pip dependencies (native)
|
||||
if: matrix.system != 'msys2'
|
||||
run: |
|
||||
@@ -222,6 +259,8 @@ jobs:
|
||||
python -m pip install --disable-pip-version-check --break-system-packages ${{ inputs.requirements }}
|
||||
fi
|
||||
|
||||
# TODO: Before scripts?
|
||||
|
||||
- name: 🔧 Install wheel from artifact (Ubuntu/macOS)
|
||||
if: ( matrix.system != 'windows' && matrix.system != 'windows-arm' )
|
||||
run: |
|
||||
@@ -232,6 +271,8 @@ jobs:
|
||||
run: |
|
||||
python -m pip install -v --disable-pip-version-check (Get-Item .\install\*.whl).FullName
|
||||
|
||||
# Run pytests
|
||||
|
||||
- name: ✅ Run application tests (Ubuntu/macOS)
|
||||
if: ( matrix.system != 'windows' && matrix.system != 'windows-arm' )
|
||||
run: |
|
||||
@@ -262,6 +303,8 @@ jobs:
|
||||
python -m pytest -raP $PYTEST_ARGS --color=yes ${{ inputs.tests_directory || '.' }}/${{ inputs.apptest_directory }}
|
||||
}
|
||||
|
||||
# Upload artifacts
|
||||
|
||||
- name: 📤 Upload 'TestReportSummary.xml' artifact
|
||||
if: inputs.apptest_xml_artifact != ''
|
||||
uses: pyTooling/upload-artifact@v6
|
||||
|
||||
46
.github/workflows/CompletePipeline.yml
vendored
46
.github/workflows/CompletePipeline.yml
vendored
@@ -136,13 +136,13 @@ on:
|
||||
|
||||
jobs:
|
||||
Prepare:
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r7
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_namespace: ${{ inputs.package_namespace }}
|
||||
package_name: ${{ inputs.package_name }}
|
||||
@@ -154,7 +154,7 @@ jobs:
|
||||
disable_list: ${{ inputs.unittest_disable_list }}
|
||||
|
||||
# AppTestingParams:
|
||||
# uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
# uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
# with:
|
||||
# package_namespace: ${{ inputs.package_namespace }}
|
||||
# package_name: ${{ inputs.package_name }}
|
||||
@@ -166,7 +166,7 @@ jobs:
|
||||
# disable_list: ${{ inputs.apptest_disable_list }}
|
||||
|
||||
InstallParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_namespace: ${{ inputs.package_namespace }}
|
||||
package_name: ${{ inputs.package_name }}
|
||||
@@ -230,7 +230,7 @@ jobs:
|
||||
"""))
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -245,7 +245,7 @@ jobs:
|
||||
coverage_sqlite_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}
|
||||
|
||||
StaticTypeCheck:
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -259,7 +259,7 @@ jobs:
|
||||
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||
|
||||
CodeQuality:
|
||||
uses: pyTooling/Actions/.github/workflows/CheckCodeQuality.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/CheckCodeQuality.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -270,7 +270,7 @@ jobs:
|
||||
artifact: CodeQuality
|
||||
|
||||
DocCoverage:
|
||||
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -278,7 +278,7 @@ jobs:
|
||||
directory: ${{ needs.UnitTestingParams.outputs.package_directory }}
|
||||
|
||||
Package:
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -286,7 +286,7 @@ jobs:
|
||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||
|
||||
Install:
|
||||
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- InstallParams
|
||||
@@ -297,7 +297,7 @@ jobs:
|
||||
package_name: ${{ needs.UnitTestingParams.outputs.package_fullname }}
|
||||
|
||||
# AppTesting:
|
||||
# uses: pyTooling/Actions/.github/workflows/ApplicationTesting.yml@main
|
||||
# uses: pyTooling/Actions/.github/workflows/ApplicationTesting.yml@r7
|
||||
# needs:
|
||||
# - AppTestingParams
|
||||
# - UnitTestingParams
|
||||
@@ -308,7 +308,7 @@ jobs:
|
||||
# apptest_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).apptesting_xml }}
|
||||
|
||||
PublishCoverageResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -330,7 +330,7 @@ jobs:
|
||||
CODACY_TOKEN: ${{ secrets.CODACY_TOKEN }}
|
||||
|
||||
PublishTestResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -346,14 +346,14 @@ jobs:
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
# VerifyDocs:
|
||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@main
|
||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@r7
|
||||
# needs:
|
||||
# - UnitTestingParams
|
||||
# with:
|
||||
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||
|
||||
Documentation:
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -370,7 +370,7 @@ jobs:
|
||||
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
|
||||
|
||||
IntermediateCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- PublishCoverageResults
|
||||
@@ -381,7 +381,7 @@ jobs:
|
||||
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-
|
||||
|
||||
PDFDocumentation:
|
||||
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- Documentation
|
||||
@@ -392,7 +392,7 @@ jobs:
|
||||
can-fail: 'true'
|
||||
|
||||
PublishToGitHubPages:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- Documentation
|
||||
@@ -405,7 +405,7 @@ jobs:
|
||||
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||
|
||||
TriggerTaggedRelease:
|
||||
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@r7
|
||||
needs:
|
||||
- Prepare
|
||||
- UnitTesting
|
||||
@@ -424,7 +424,7 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
ReleasePage:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r7
|
||||
needs:
|
||||
- Prepare
|
||||
- UnitTesting
|
||||
@@ -442,7 +442,7 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
PublishOnPyPI:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r7
|
||||
needs:
|
||||
- Prepare
|
||||
- UnitTestingParams
|
||||
@@ -457,7 +457,7 @@ jobs:
|
||||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
||||
|
||||
ArtifactCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- UnitTesting
|
||||
|
||||
2
.github/workflows/UnitTesting.yml
vendored
2
.github/workflows/UnitTesting.yml
vendored
@@ -215,6 +215,7 @@ jobs:
|
||||
# run: |
|
||||
# py -3.12 -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
|
||||
id: requirements
|
||||
shell: python
|
||||
@@ -247,6 +248,7 @@ jobs:
|
||||
else:
|
||||
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
|
||||
id: pacboy
|
||||
if: matrix.system == 'msys2'
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
Params:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.13 3.14" # py-1, py-0
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
retention-days: 1
|
||||
|
||||
ArtifactCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r7
|
||||
needs:
|
||||
- Params
|
||||
- Testing
|
||||
|
||||
46
.github/workflows/_Checking_JobTemplates.yml
vendored
46
.github/workflows/_Checking_JobTemplates.yml
vendored
@@ -6,20 +6,20 @@ on:
|
||||
|
||||
jobs:
|
||||
Prepare:
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r7
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: 'myPackage'
|
||||
python_version_list: '3.11 3.12 3.13 3.14 pypy-3.11'
|
||||
disable_list: 'windows-arm:pypy-3.11'
|
||||
|
||||
PlatformTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: 'myPackage'
|
||||
name: 'Platform'
|
||||
@@ -27,14 +27,14 @@ jobs:
|
||||
system_list: 'ubuntu ubuntu-arm windows windows-arm macos mingw64 clang64 ucrt64'
|
||||
|
||||
InstallParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: 'myPackage'
|
||||
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||
python_version_list: ''
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
coverage_html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}
|
||||
|
||||
PlatformTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- PlatformTestingParams
|
||||
@@ -72,7 +72,7 @@ jobs:
|
||||
coverage_html_artifact: ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_html }}
|
||||
|
||||
StaticTypeCheck:
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -82,7 +82,7 @@ jobs:
|
||||
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||
|
||||
CodeQuality:
|
||||
uses: pyTooling/Actions/.github/workflows/CheckCodeQuality.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/CheckCodeQuality.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -93,7 +93,7 @@ jobs:
|
||||
artifact: 'CodeQuality'
|
||||
|
||||
DocCoverage:
|
||||
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
# fail_below: 70
|
||||
|
||||
Package:
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
# - UnitTesting
|
||||
@@ -113,7 +113,7 @@ jobs:
|
||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||
|
||||
Install:
|
||||
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- InstallParams
|
||||
@@ -124,7 +124,7 @@ jobs:
|
||||
package_name: ${{ needs.UnitTestingParams.outputs.package_fullname }}
|
||||
|
||||
PublishCoverageResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -143,7 +143,7 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
PublishTestResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -158,14 +158,14 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
# VerifyDocs:
|
||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@main
|
||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@r7
|
||||
# needs:
|
||||
# - UnitTestingParams
|
||||
# with:
|
||||
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||
|
||||
Documentation:
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -182,7 +182,7 @@ jobs:
|
||||
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
|
||||
|
||||
IntermediateCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- PublishCoverageResults
|
||||
@@ -192,7 +192,7 @@ jobs:
|
||||
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-
|
||||
|
||||
PDFDocumentation:
|
||||
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- Documentation
|
||||
@@ -202,7 +202,7 @@ jobs:
|
||||
pdf_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_pdf }}
|
||||
|
||||
PublishToGitHubPages:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- Documentation
|
||||
@@ -215,7 +215,7 @@ jobs:
|
||||
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||
|
||||
TriggerTaggedRelease:
|
||||
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@r7
|
||||
needs:
|
||||
- Prepare
|
||||
- UnitTesting
|
||||
@@ -233,7 +233,7 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
ReleasePage:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r7
|
||||
needs:
|
||||
- Prepare
|
||||
- UnitTesting
|
||||
@@ -251,7 +251,7 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
PublishOnPyPI:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- ReleasePage
|
||||
@@ -264,7 +264,7 @@ jobs:
|
||||
secrets: inherit
|
||||
|
||||
ArtifactCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- PlatformTestingParams
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
NamespacePackage:
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r7
|
||||
with:
|
||||
package_namespace: 'myFramework'
|
||||
package_name: 'Extension'
|
||||
|
||||
14
.github/workflows/_Checking_Parameters.yml
vendored
14
.github/workflows/_Checking_Parameters.yml
vendored
@@ -6,24 +6,24 @@ on:
|
||||
|
||||
jobs:
|
||||
Params_Default:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
name: Example
|
||||
|
||||
Params_PythonVersions:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.12 3.13 pypy-3.10 pypy-3.11" # py-2, py-1, pypy-1, pypy-0
|
||||
|
||||
Params_Systems:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
name: Example
|
||||
system_list: "windows mingw32 mingw64"
|
||||
|
||||
Params_Include:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.12" # py-2
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
include_list: "ubuntu:3.13 ubuntu:3.14 ubuntu-arm:3.12"
|
||||
|
||||
Params_Exclude:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.13" # py-1
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
exclude_list: "windows:3.13 windows:3.14"
|
||||
|
||||
Params_Disable:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.13" # py-1
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
disable_list: "windows:3.13 windows:3.14"
|
||||
|
||||
Params_All:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.12 3.13" # py-2, py-1
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
SimplePackage:
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r7
|
||||
with:
|
||||
package_name: 'myPackage'
|
||||
unittest_python_version_list: '3.11 3.12 3.13 3.14 pypy-3.11'
|
||||
|
||||
@@ -104,7 +104,7 @@ The following block shows a minimal YAML workflow file:
|
||||
# Update tag and pre-release
|
||||
# - Update (force-push) tag to the commit that is used in the workflow.
|
||||
# - Upload artifacts defined by the user.
|
||||
- uses: pyTooling/Actions/releaser@r0
|
||||
- uses: pyTooling/Actions/releaser@r4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
files: |
|
||||
|
||||
@@ -42,7 +42,7 @@ to handover input parameters to the template.
|
||||
|
||||
jobs:
|
||||
<InstanceName>:
|
||||
uses: <GitHubOrganization>/<Repository>/.github/workflows/<Template>.yml@r6
|
||||
uses: <GitHubOrganization>/<Repository>/.github/workflows/<Template>.yml@r7
|
||||
with:
|
||||
<Param1>: <Value>
|
||||
|
||||
@@ -66,12 +66,12 @@ Documentation Only (Sphinx)
|
||||
|
||||
jobs:
|
||||
BuildTheDocs:
|
||||
uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@r7
|
||||
with:
|
||||
artifact: Documentation
|
||||
|
||||
PublishToGitHubPages:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r7
|
||||
needs:
|
||||
- BuildTheDocs
|
||||
with:
|
||||
|
||||
@@ -286,7 +286,7 @@ Instantiation
|
||||
*************
|
||||
|
||||
The following instantiation example creates a ``SimplePackage`` job derived from job template ``CompletePipeline``
|
||||
version ``@r6``. It only requires the `package_name` parameter to run a full pipeline suitable for a Python project.
|
||||
version ``@r7``. It only requires the `package_name` parameter to run a full pipeline suitable for a Python project.
|
||||
|
||||
.. grid:: 2
|
||||
|
||||
@@ -304,7 +304,7 @@ version ``@r6``. It only requires the `package_name` parameter to run a full pip
|
||||
|
||||
jobs:
|
||||
SimplePackage:
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r7
|
||||
with:
|
||||
|
||||
package_name: myPackage
|
||||
@@ -318,7 +318,7 @@ version ``@r6``. It only requires the `package_name` parameter to run a full pip
|
||||
|
||||
jobs:
|
||||
NamespacePackage:
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r7
|
||||
with:
|
||||
package_namespace: myFramework
|
||||
package_name: Extension
|
||||
@@ -454,7 +454,7 @@ package_namespace
|
||||
|
||||
jobs:
|
||||
NamespacePackage:
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r7
|
||||
with:
|
||||
package_namespace: myFramework
|
||||
package_name: Extension
|
||||
@@ -502,7 +502,7 @@ package_name
|
||||
|
||||
jobs:
|
||||
SimplePackage:
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ The simplest variant just uses the artifact name for the package.
|
||||
|
||||
jobs:
|
||||
ArtifactCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r7
|
||||
with:
|
||||
package: Package
|
||||
|
||||
@@ -53,7 +53,7 @@ Complex Example
|
||||
|
||||
jobs:
|
||||
ArtifactCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r7
|
||||
needs:
|
||||
- Params
|
||||
- UnitTesting
|
||||
|
||||
@@ -33,14 +33,14 @@ variant after test results have been merged into a single file.
|
||||
Instantiation
|
||||
*************
|
||||
|
||||
The following instantiation example creates a ``Params`` job derived from job template ``Parameters`` version ``@r6``. It only
|
||||
The following instantiation example creates a ``Params`` job derived from job template ``Parameters`` version ``@r7``. It only
|
||||
requires a `name` parameter to create the artifact names.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
jobs:
|
||||
IntermediateCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- PublishCoverageResults
|
||||
|
||||
@@ -46,12 +46,12 @@ Instantiation
|
||||
|
||||
jobs:
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
Documentation:
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -60,7 +60,7 @@ Instantiation
|
||||
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
|
||||
|
||||
PDFDocumentation:
|
||||
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- Documentation
|
||||
|
||||
@@ -51,7 +51,7 @@ Instantiation
|
||||
# ...
|
||||
|
||||
PublishToGitHubPages:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r7
|
||||
needs:
|
||||
- BuildTheDocs
|
||||
with:
|
||||
@@ -66,7 +66,7 @@ Instantiation
|
||||
|
||||
jobs:
|
||||
PublishToGitHubPages:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r7
|
||||
needs:
|
||||
- Params
|
||||
- BuildTheDocs
|
||||
|
||||
@@ -72,12 +72,12 @@ Instantiation
|
||||
|
||||
jobs:
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
Documentation:
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -207,10 +207,10 @@ coverage_report_json
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
Documentation:
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -253,10 +253,10 @@ unittest_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
Documentation:
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
|
||||
@@ -47,7 +47,7 @@ Instantiation
|
||||
*************
|
||||
|
||||
The following instantiation example creates a ``Install`` job derived from job template ``InstallPackage`` version
|
||||
`@r6`. It installs the Python package on various platforms using a precomputed job-matrix created by job
|
||||
`@r7`. It installs the Python package on various platforms using a precomputed job-matrix created by job
|
||||
``InstallParams``. This job uses the same ``Parameters`` job template as job ``UnitTestingParams``, which was used to
|
||||
define parameters for the packaging job ``Package``.
|
||||
|
||||
@@ -55,25 +55,25 @@ define parameters for the packaging job ``Package``.
|
||||
|
||||
jobs:
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
InstallParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
python_version_list: ''
|
||||
|
||||
Package:
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||
|
||||
Install:
|
||||
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/InstallPackage.yml@r7
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- InstallParams
|
||||
|
||||
@@ -58,7 +58,7 @@ Simple Example
|
||||
|
||||
jobs:
|
||||
Package:
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r7
|
||||
with:
|
||||
artifact: Package
|
||||
|
||||
@@ -70,7 +70,7 @@ Complex Example
|
||||
|
||||
jobs:
|
||||
Package:
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r7
|
||||
needs:
|
||||
- Params
|
||||
with:
|
||||
|
||||
@@ -63,7 +63,7 @@ by a Git tag. A secret is forwarded from GitHub secrets to a job secret.
|
||||
# ...
|
||||
|
||||
PublishOnPyPI:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r7
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
with:
|
||||
artifact: Package
|
||||
@@ -87,7 +87,7 @@ by that job. Finally, the list of requirements is overwritten to load a list of
|
||||
# ...
|
||||
|
||||
PublishOnPyPI:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r7
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
needs:
|
||||
- Params
|
||||
|
||||
@@ -76,17 +76,17 @@ The following
|
||||
|
||||
jobs:
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -95,7 +95,7 @@ The following
|
||||
coverage_sqlite_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}
|
||||
|
||||
PublishCoverageResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -252,10 +252,10 @@ coverage_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
PublishCoverageResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -292,10 +292,10 @@ coverage_report_json
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
PublishCoverageResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -325,10 +325,10 @@ coverage_report_html
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
PublishCoverageResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
|
||||
@@ -85,7 +85,7 @@ Simple Example
|
||||
|
||||
jobs:
|
||||
PublishTestResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r7
|
||||
|
||||
Complex Example
|
||||
===============
|
||||
@@ -100,7 +100,7 @@ Complex Example
|
||||
# ...
|
||||
|
||||
PublishTestResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r7
|
||||
needs:
|
||||
- CodeCoverage
|
||||
- UnitTesting
|
||||
|
||||
@@ -41,19 +41,19 @@ The ``CheckDocumentation`` job checks the level of documentation coverage for Py
|
||||
Instantiation
|
||||
*************
|
||||
|
||||
The following instantiation example creates a ``Params`` job derived from job template ``Parameters`` version ``@r6``. It only
|
||||
The following instantiation example creates a ``Params`` job derived from job template ``Parameters`` version ``@r7``. It only
|
||||
requires a `name` parameter to create the artifact names.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
jobs:
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
DocCoverage:
|
||||
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
|
||||
@@ -59,7 +59,7 @@ directory ``report/typing``.
|
||||
|
||||
jobs:
|
||||
StaticTypeCheck:
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r7
|
||||
with:
|
||||
cobertura_artifact: 'TypeChecking-Cobertura'
|
||||
junit_artifact: 'TypeChecking-JUnit'
|
||||
@@ -91,17 +91,17 @@ precompute the artifact's name.
|
||||
|
||||
jobs:
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
Params:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
StaticTypeCheck:
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- Params
|
||||
@@ -221,10 +221,10 @@ cobertura_report
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -261,10 +261,10 @@ junit_report
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -294,10 +294,10 @@ html_report
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
|
||||
@@ -64,10 +64,10 @@ Instantiation
|
||||
|
||||
jobs:
|
||||
Prepare:
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r7
|
||||
|
||||
Release:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r7
|
||||
needs:
|
||||
- Prepare
|
||||
if: needs.Prepare.outputs.is_release_tag == 'true'
|
||||
@@ -441,7 +441,7 @@ replacements
|
||||
.. code-block:: yaml
|
||||
|
||||
ReleasePage:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r7
|
||||
needs:
|
||||
- Prepare
|
||||
if: needs.Prepare.outputs.is_release_tag == 'true'
|
||||
|
||||
@@ -47,21 +47,21 @@ Instantiation
|
||||
*************
|
||||
|
||||
The following instantiation example depicts three jobs within a bigger pipeline. The ``prepare`` job derived from job
|
||||
template ``PrepareJob`` version ``@r6`` figures out if a pipeline runs for a release merge-commit, for a tag or any
|
||||
template ``PrepareJob`` version ``@r7`` figures out if a pipeline runs for a release merge-commit, for a tag or any
|
||||
other reason. Its outputs are used to either run a ``TriggerTaggedRelease`` job derived from job template
|
||||
``TagReleaseCommit`` version ``@r6``, or alternatively run the ``ReleasePage`` job derived from job template
|
||||
``PublishReleaseNotes`` version ``@r6``.
|
||||
``TagReleaseCommit`` version ``@r7``, or alternatively run the ``ReleasePage`` job derived from job template
|
||||
``PublishReleaseNotes`` version ``@r7``.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
jobs:
|
||||
Prepare:
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r7
|
||||
|
||||
# Other pipeline jobs
|
||||
|
||||
TriggerTaggedRelease:
|
||||
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/TagReleaseCommit.yml@r7
|
||||
needs:
|
||||
- Prepare
|
||||
if: needs.Prepare.outputs.is_release_commit == 'true' && github.event_name != 'schedule'
|
||||
@@ -74,7 +74,7 @@ other reason. Its outputs are used to either run a ``TriggerTaggedRelease`` job
|
||||
secrets: inherit
|
||||
|
||||
ReleasePage:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PublishReleaseNotes.yml@r7
|
||||
needs:
|
||||
- Prepare
|
||||
if: needs.Prepare.outputs.is_release_tag == 'true'
|
||||
|
||||
@@ -57,17 +57,17 @@ Instantiation
|
||||
*************
|
||||
|
||||
The following instantiation example creates a ``ConfigParams`` job derived from job template ``ExtractConfiguration``
|
||||
version ``@r6``. It requires no special parameters to extract unit test (pytest) and code coverage (Coverage.py)
|
||||
version ``@r7``. It requires no special parameters to extract unit test (pytest) and code coverage (Coverage.py)
|
||||
settings.
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
jobs:
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -249,10 +249,10 @@ unittest_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -264,10 +264,10 @@ unittest_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -282,10 +282,10 @@ unittest_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -332,10 +332,10 @@ unittest_merged_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -347,10 +347,10 @@ unittest_merged_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -365,10 +365,10 @@ unittest_merged_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -413,10 +413,10 @@ coverage_report_html
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -428,10 +428,10 @@ coverage_report_html
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -446,10 +446,10 @@ coverage_report_html
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -496,10 +496,10 @@ coverage_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -511,10 +511,10 @@ coverage_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -529,10 +529,10 @@ coverage_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -579,10 +579,10 @@ coverage_report_json
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -594,10 +594,10 @@ coverage_report_json
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -612,10 +612,10 @@ coverage_report_json
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -662,10 +662,10 @@ typing_report_cobertura
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -677,10 +677,10 @@ typing_report_cobertura
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -695,10 +695,10 @@ typing_report_cobertura
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -745,10 +745,10 @@ typing_report_junit
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -760,10 +760,10 @@ typing_report_junit
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -778,10 +778,10 @@ typing_report_junit
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -825,10 +825,10 @@ typing_report_html
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -840,10 +840,10 @@ typing_report_html
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -858,10 +858,10 @@ typing_report_html
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
OtherJob:
|
||||
uses: some/path/to/a/template@r6
|
||||
uses: some/path/to/a/template@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
|
||||
@@ -53,7 +53,7 @@ Simple Example
|
||||
:columns: 5
|
||||
|
||||
The following instantiation example creates a ``Params`` job derived from job template ``Parameters`` version
|
||||
``@r6``. It only requires a :ref:`JOBTMPL/Parameters/Input/package_name` parameter to create the artifact names.
|
||||
``@r7``. It only requires a :ref:`JOBTMPL/Parameters/Input/package_name` parameter to create the artifact names.
|
||||
|
||||
.. grid-item::
|
||||
:columns: 7
|
||||
@@ -62,12 +62,12 @@ Simple Example
|
||||
|
||||
jobs:
|
||||
Params:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- Params
|
||||
with:
|
||||
@@ -101,7 +101,7 @@ Complex Example
|
||||
|
||||
jobs:
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_namespace: myFramework
|
||||
package_name: Extension
|
||||
@@ -111,7 +111,7 @@ Complex Example
|
||||
exclude_list: 'windows:pypy-3.10 windows:pypy-3.11'
|
||||
|
||||
PerformanceTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_namespace: myFramework
|
||||
package_name: Extension
|
||||
@@ -119,7 +119,7 @@ Complex Example
|
||||
system_list: 'ubuntu windows macos macos-arm'
|
||||
|
||||
PlatformTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_namespace: myFramework
|
||||
package_name: Extension
|
||||
@@ -272,7 +272,7 @@ package_namespace
|
||||
|
||||
jobs:
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_namespace: myFramework
|
||||
package_name: Extension
|
||||
@@ -321,7 +321,7 @@ package_name
|
||||
|
||||
jobs:
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
@@ -404,7 +404,7 @@ include_list
|
||||
|
||||
jobs:
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
include_list: "ubuntu:3.11 macos:3.11"
|
||||
@@ -426,7 +426,7 @@ exclude_list
|
||||
|
||||
jobs:
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
exclude_list: "windows:pypy-3.8 windows:pypy-3.9"
|
||||
@@ -449,7 +449,7 @@ disable_list
|
||||
|
||||
jobs:
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
disable_list: "windows:3.10 windows:3.11"
|
||||
@@ -577,12 +577,12 @@ python_version
|
||||
|
||||
jobs:
|
||||
Params:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
name: pyTooling
|
||||
|
||||
CodeCoverage:
|
||||
uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@r7
|
||||
needs:
|
||||
- Params
|
||||
with:
|
||||
@@ -658,12 +658,12 @@ artifact_names
|
||||
|
||||
jobs:
|
||||
Params:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
name: pyTooling
|
||||
|
||||
Coverage:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- Params
|
||||
with:
|
||||
@@ -692,12 +692,12 @@ python_jobs
|
||||
|
||||
jobs:
|
||||
Params:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
name: pyDummy
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- Params
|
||||
with:
|
||||
|
||||
@@ -64,7 +64,7 @@ The job template generates various output parameters derived from
|
||||
Instantiation
|
||||
*************
|
||||
|
||||
The following instantiation example creates a ``Prepare`` job derived from job template ``PrepareJob`` version ``@r6``.
|
||||
The following instantiation example creates a ``Prepare`` job derived from job template ``PrepareJob`` version ``@r7``.
|
||||
In a default usecase, no input parameters need to be specified for the job template assuming a main-branch and
|
||||
release-branch called ``main``, a development-branch called ``dev``, as well as semantic versioning for tags and
|
||||
pull-request titles.
|
||||
@@ -73,7 +73,7 @@ pull-request titles.
|
||||
|
||||
jobs:
|
||||
Prepare:
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/PrepareJob.yml@r7
|
||||
|
||||
<ReleaseJob>:
|
||||
needs:
|
||||
|
||||
@@ -70,7 +70,7 @@ Instantiation
|
||||
*************
|
||||
|
||||
The following instantiation example creates a ``UnitTesting`` job derived from job template ``UnitTesting`` version
|
||||
`@r6`. For providing the job matrix as a JSON string, the :ref:`JOBTMPL/Parameters` job template is used. Additionally,
|
||||
`@r7`. For providing the job matrix as a JSON string, the :ref:`JOBTMPL/Parameters` job template is used. Additionally,
|
||||
the job needs configuration settings, which are stored in :file:`pyproject.toml`. Instead of duplicating these settings,
|
||||
the :ref:`JOBTMPL/ExtractConfiguration` job template is used to extract these settings.
|
||||
|
||||
@@ -78,15 +78,15 @@ the :ref:`JOBTMPL/ExtractConfiguration` job template is used to extract these se
|
||||
|
||||
jobs:
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -512,10 +512,10 @@ unittest_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -563,10 +563,10 @@ coverage_report_xml
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -603,10 +603,10 @@ coverage_report_json
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
@@ -636,10 +636,10 @@ coverage_report_html
|
||||
.. code-block:: yaml
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r7
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r7
|
||||
needs:
|
||||
- ConfigParams
|
||||
with:
|
||||
|
||||
@@ -45,7 +45,7 @@ Some templates might provide output parameters, which can be used in dependent j
|
||||
|
||||
jobs:
|
||||
<InstanceName>:
|
||||
uses: <GitHubOrganization>/<Repository>/.github/workflows/<Template>.yml@r6
|
||||
uses: <GitHubOrganization>/<Repository>/.github/workflows/<Template>.yml@r7
|
||||
with:
|
||||
<Param1>: <Value1>
|
||||
<Param2>: <Value2>
|
||||
|
||||
@@ -121,7 +121,7 @@ Example Pipelines
|
||||
|
||||
jobs:
|
||||
SimplePackage:
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r7
|
||||
with:
|
||||
package_name: myPackage
|
||||
codecov: true
|
||||
@@ -147,7 +147,7 @@ Example Pipelines
|
||||
|
||||
jobs:
|
||||
NamespacePackage:
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r6
|
||||
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r7
|
||||
with:
|
||||
package_namespace: myFramework
|
||||
package_name: Extension
|
||||
|
||||
@@ -36,7 +36,7 @@ __author__ = "Patrick Lehmann"
|
||||
__email__ = "Paebbels@gmail.com"
|
||||
__copyright__ = "2017-2026, Patrick Lehmann"
|
||||
__license__ = "Apache License, Version 2.0"
|
||||
__version__ = "7.4.1"
|
||||
__version__ = "7.4.2"
|
||||
__keywords__ = ["GitHub Actions"]
|
||||
__issue_tracker__ = "https://GitHub.com/pyTooling/Actions/issues"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user