mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 11:06:56 +08:00
v3.0.0
This commit is contained in:
41
.github/workflows/_Checking_JobTemplates.yml
vendored
41
.github/workflows/_Checking_JobTemplates.yml
vendored
@@ -6,28 +6,26 @@ on:
|
||||
|
||||
jobs:
|
||||
ConfigParams:
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r2
|
||||
needs:
|
||||
- DocCoverage
|
||||
uses: pyTooling/Actions/.github/workflows/ExtractConfiguration.yml@r3
|
||||
with:
|
||||
package_name: pyDummy
|
||||
|
||||
UnitTestingParams:
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r3
|
||||
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@r2
|
||||
uses: pyTooling/Actions/.github/workflows/Parameters.yml@r3
|
||||
with:
|
||||
name: Platform
|
||||
python_version_list: ""
|
||||
system_list: "ubuntu windows macos mingw32 mingw64 clang64 ucrt64"
|
||||
|
||||
UnitTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r3
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
with:
|
||||
@@ -40,7 +38,7 @@ jobs:
|
||||
# coverage_html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}
|
||||
|
||||
PlatformTesting:
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@r3
|
||||
needs:
|
||||
- PlatformTestingParams
|
||||
with:
|
||||
@@ -55,7 +53,7 @@ jobs:
|
||||
coverage_html_artifact: ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_html }}
|
||||
|
||||
# Coverage:
|
||||
# uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@r2
|
||||
# uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@r3
|
||||
# needs:
|
||||
# - UnitTestingParams
|
||||
# with:
|
||||
@@ -65,7 +63,7 @@ jobs:
|
||||
# codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
|
||||
StaticTypeCheck:
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@r3
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
@@ -80,14 +78,15 @@ jobs:
|
||||
DocCoverage:
|
||||
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@r1
|
||||
needs:
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
with:
|
||||
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||
directory: sphinx_reports
|
||||
directory: ${{ needs.ConfigParams.outputs.package_directors }}
|
||||
# fail_below: 70
|
||||
|
||||
Package:
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/Package.yml@r3
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- UnitTesting
|
||||
@@ -98,7 +97,7 @@ jobs:
|
||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
|
||||
|
||||
PublishCoverageResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@r3
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- UnitTesting
|
||||
@@ -113,7 +112,7 @@ jobs:
|
||||
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
|
||||
PublishTestResults:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@r3
|
||||
needs:
|
||||
- UnitTesting
|
||||
- PlatformTesting
|
||||
@@ -121,17 +120,17 @@ 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@r2
|
||||
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@r3
|
||||
# needs:
|
||||
# - UnitTestingParams
|
||||
# with:
|
||||
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||
|
||||
Documentation:
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r3
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- ConfigParams
|
||||
- UnitTestingParams
|
||||
- PublishTestResults
|
||||
- PublishCoverageResults
|
||||
# - VerifyDocs
|
||||
@@ -155,7 +154,7 @@ jobs:
|
||||
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-
|
||||
|
||||
PDFDocumentation:
|
||||
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@r3
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- Documentation
|
||||
@@ -165,7 +164,7 @@ jobs:
|
||||
pdf_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_pdf }}
|
||||
|
||||
PublishToGitHubPages:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@r3
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- Documentation
|
||||
@@ -179,7 +178,7 @@ jobs:
|
||||
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
|
||||
|
||||
ReleasePage:
|
||||
uses: pyTooling/Actions/.github/workflows/Release.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/Release.yml@r3
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
needs:
|
||||
- UnitTesting
|
||||
@@ -190,7 +189,7 @@ jobs:
|
||||
- PublishToGitHubPages
|
||||
|
||||
PublishOnPyPI:
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@r3
|
||||
if: startsWith(github.ref, 'refs/tags')
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
@@ -204,7 +203,7 @@ jobs:
|
||||
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
||||
|
||||
ArtifactCleanUp:
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r2
|
||||
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@r3
|
||||
needs:
|
||||
- UnitTestingParams
|
||||
- PlatformTestingParams
|
||||
|
||||
Reference in New Issue
Block a user