mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-14 12:06:56 +08:00
Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99f30dab53 | ||
|
|
1c42072471 | ||
|
|
74afc5a42a | ||
|
|
2e5a79e0c2 | ||
|
|
db99e35dec | ||
|
|
6cfc6e0f8f | ||
|
|
5adddda1a1 | ||
|
|
91289c4257 | ||
|
|
527e94b245 | ||
|
|
f11c335674 | ||
|
|
5bed864443 | ||
|
|
37ec436eb4 | ||
|
|
6a7a4212c3 | ||
|
|
f5b6f17d4e | ||
|
|
883238547a | ||
|
|
7cd852db58 | ||
|
|
ce0d30fe3f | ||
|
|
34dacf7bcf | ||
|
|
48090e113d | ||
|
|
e082d77e7a | ||
|
|
181035b0ba | ||
|
|
643f95bbb6 | ||
|
|
424b75ca96 | ||
|
|
f0610331b9 |
36
.github/workflows/Pipeline-NamespacePackage.yml
vendored
36
.github/workflows/Pipeline-NamespacePackage.yml
vendored
@@ -74,7 +74,7 @@ on:
|
||||
|
||||
jobs:
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r2
|
||||
with:
|
||||
name: "${{ inputs.package_namespace }}.${{ inputs.package_name }}"
|
||||
python_version: ${{ inputs.unittest_python_version }}
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
disable_list: ${{ inputs.unittest_disable_list }}
|
||||
|
||||
AppTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r2
|
||||
with:
|
||||
name: "${{ inputs.package_namespace }}.${{ inputs.package_name }}"
|
||||
python_version: ${{ inputs.apptest_python_version }}
|
||||
@@ -96,7 +96,7 @@ jobs:
|
||||
disable_list: ${{ inputs.apptest_disable_list }}
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -107,7 +107,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@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -119,7 +119,7 @@ jobs:
|
||||
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||
|
||||
DocCoverage:
|
||||
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -128,12 +128,12 @@ jobs:
|
||||
# fail_below: 70
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r2
|
||||
needs:
|
||||
- DocCoverage
|
||||
|
||||
Package:
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- UnitTesting
|
||||
@@ -142,7 +142,7 @@ jobs:
|
||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||
|
||||
# AppTesting:
|
||||
# uses: pyTooling/Actions/.github/workflows/ApplicationTesting.yml@main
|
||||
# uses: pyTooling/Actions/.github/workflows/ApplicationTesting.yml@r2
|
||||
# needs:
|
||||
# - AppTestingParams
|
||||
# - UnitTestingParams
|
||||
@@ -153,7 +153,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@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- UnitTesting
|
||||
@@ -166,7 +166,7 @@ jobs:
|
||||
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
|
||||
PublishTestResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- UnitTesting
|
||||
@@ -174,14 +174,14 @@ jobs:
|
||||
merged_junit_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}
|
||||
|
||||
# VerifyDocs:
|
||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@main
|
||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@r2
|
||||
# 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@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- ConfigParams
|
||||
@@ -197,7 +197,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@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- PublishCoverageResults
|
||||
@@ -208,7 +208,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@r2
|
||||
# needs:
|
||||
# - UnitTestingParams
|
||||
# - Documentation
|
||||
@@ -218,7 +218,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@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- Documentation
|
||||
@@ -231,7 +231,7 @@ jobs:
|
||||
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||
|
||||
ReleasePage:
|
||||
uses: pyTooling/Actions/.github/workflows/Release.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Release.yml@r2
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
needs:
|
||||
- Package
|
||||
@@ -239,7 +239,7 @@ jobs:
|
||||
- PublishToGitHubPages
|
||||
|
||||
PublishOnPyPI:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r2
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
@@ -252,7 +252,7 @@ jobs:
|
||||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
||||
|
||||
ArtifactCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- UnitTesting
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
Params:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r2
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.12 3.13"
|
||||
@@ -50,7 +50,7 @@ jobs:
|
||||
retention-days: 1
|
||||
|
||||
ArtifactCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r2
|
||||
needs:
|
||||
- Params
|
||||
- Testing
|
||||
|
||||
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@r2
|
||||
with:
|
||||
name: Example
|
||||
|
||||
Params_PythonVersions:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r2
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.11 3.12 pypy-3.9 pypy-3.10"
|
||||
|
||||
Params_Systems:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r2
|
||||
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@r2
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.11"
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
include_list: "ubuntu:3.12 ubuntu:3.13"
|
||||
|
||||
Params_Exclude:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r2
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.12"
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
exclude_list: "windows:3.12 windows:3.13"
|
||||
|
||||
Params_Disable:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r2
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.12"
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
disable_list: "windows:3.12 windows:3.13"
|
||||
|
||||
Params_All:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r2
|
||||
with:
|
||||
name: Example
|
||||
python_version_list: "3.12 3.13"
|
||||
|
||||
34
.github/workflows/_Checking_Pipeline.yml
vendored
34
.github/workflows/_Checking_Pipeline.yml
vendored
@@ -6,21 +6,21 @@ on:
|
||||
|
||||
jobs:
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r2
|
||||
with:
|
||||
name: pyDummy
|
||||
python_version_list: "3.9 3.10 3.11 3.12 3.13 pypy-3.9 pypy-3.10"
|
||||
# disable_list: "windows:pypy-3.10"
|
||||
|
||||
PlatformTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r2
|
||||
with:
|
||||
name: Platform
|
||||
python_version_list: ""
|
||||
system_list: "ubuntu windows macos mingw32 mingw64 clang64 ucrt64"
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -33,7 +33,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@r2
|
||||
needs:
|
||||
- PlatformTestingParams
|
||||
with:
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
coverage_html_artifact: ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_html }}
|
||||
|
||||
# Coverage:
|
||||
# uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@main
|
||||
# uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@r2
|
||||
# needs:
|
||||
# - UnitTestingParams
|
||||
# with:
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
# codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
|
||||
StaticTypeCheck:
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -78,12 +78,12 @@ jobs:
|
||||
# fail_below: 70
|
||||
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r2
|
||||
needs:
|
||||
- DocCoverage
|
||||
|
||||
Package:
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- UnitTesting
|
||||
@@ -94,7 +94,7 @@ jobs:
|
||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||
|
||||
PublishCoverageResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- UnitTesting
|
||||
@@ -109,7 +109,7 @@ jobs:
|
||||
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
|
||||
PublishTestResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r2
|
||||
needs:
|
||||
- UnitTesting
|
||||
- PlatformTesting
|
||||
@@ -117,14 +117,14 @@ jobs:
|
||||
additional_merge_args: '-d "--pytest=rewrite-dunder-init;reduce-depth:pytest.tests.unit;reduce-depth:pytest.tests.platform"'
|
||||
|
||||
# VerifyDocs:
|
||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@main
|
||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@r2
|
||||
# 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@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- ConfigParams
|
||||
@@ -151,7 +151,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@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- Documentation
|
||||
@@ -161,7 +161,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@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- Documentation
|
||||
@@ -175,7 +175,7 @@ jobs:
|
||||
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||
|
||||
ReleasePage:
|
||||
uses: pyTooling/Actions/.github/workflows/Release.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/Release.yml@r2
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
needs:
|
||||
- UnitTesting
|
||||
@@ -186,7 +186,7 @@ jobs:
|
||||
- PublishToGitHubPages
|
||||
|
||||
PublishOnPyPI:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r2
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
@@ -200,7 +200,7 @@ jobs:
|
||||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
||||
|
||||
ArtifactCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@main
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r2
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- PlatformTestingParams
|
||||
|
||||
Reference in New Issue
Block a user