Fixed pipeline dependencies.

This commit is contained in:
Patrick Lehmann
2024-11-03 09:20:22 +01:00
parent bec076bd66
commit ef5c852097

View File

@@ -9,7 +9,7 @@ jobs:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@sphinx uses: pyTooling/Actions/.github/workflows/Parameters.yml@sphinx
with: with:
name: pyDummy name: pyDummy
python_version_list: "3.8 3.9 3.10 3.11 3.12 3.13 pypy-3.8 pypy-3.9 pypy-3.10" 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" # disable_list: "windows:pypy-3.10"
PlatformTestingParams: PlatformTestingParams:
@@ -68,6 +68,26 @@ jobs:
html_report: 'htmlmypy' html_report: 'htmlmypy'
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }} html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
DocCoverage:
uses: pyTooling/Actions/.github/workflows/CheckDocumentation.yml@r1
needs:
- UnitTestingParams
with:
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
directory: sphinx_reports
# fail_below: 70
Package:
uses: pyTooling/Actions/.github/workflows/Package.yml@sphinx
needs:
- UnitTestingParams
- UnitTesting
# - Coverage
- PlatformTesting
with:
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
PublishCoverageResults: PublishCoverageResults:
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@sphinx uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@sphinx
needs: needs:
@@ -91,17 +111,6 @@ jobs:
with: with:
additional_merge_args: '-d "--pytest=rewrite-dunder-init;reduce-depth:pytest.tests.unit;reduce-depth:pytest.tests.platform"' additional_merge_args: '-d "--pytest=rewrite-dunder-init;reduce-depth:pytest.tests.unit;reduce-depth:pytest.tests.platform"'
Package:
uses: pyTooling/Actions/.github/workflows/Package.yml@sphinx
needs:
- UnitTestingParams
- UnitTesting
# - Coverage
- PlatformTesting
with:
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
# VerifyDocs: # VerifyDocs:
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@sphinx # uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@sphinx
# needs: # needs:
@@ -109,10 +118,12 @@ jobs:
# with: # with:
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }} # python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
HTMLDocumentation: Documentation:
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@sphinx uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@sphinx
needs: needs:
- UnitTestingParams - UnitTestingParams
- PublishTestResults
- PublishCoverageResults
# - VerifyDocs # - VerifyDocs
with: with:
python_version: ${{ needs.UnitTestingParams.outputs.python_version }} python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
@@ -121,11 +132,22 @@ jobs:
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }} html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }}
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }} latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
IntermediateCleanUp:
uses: pyTooling/Actions/.github/workflows/IntermediateCleanUp.yml@r1
needs:
- UnitTestingParams
- PublishCoverageResults
- PublishTestResults
- Documentation
with:
sqlite_coverage_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_sqlite }}-
xml_unittest_artifacts_prefix: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}-
PDFDocumentation: PDFDocumentation:
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@sphinx uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@sphinx
needs: needs:
- UnitTestingParams - UnitTestingParams
- HTMLDocumentation - Documentation
with: with:
document: actions document: actions
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }} latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
@@ -135,7 +157,7 @@ jobs:
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@sphinx uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@sphinx
needs: needs:
- UnitTestingParams - UnitTestingParams
- HTMLDocumentation - Documentation
# - PDFDocumentation # - PDFDocumentation
# - Coverage # - Coverage
- PublishCoverageResults - PublishCoverageResults
@@ -176,13 +198,15 @@ jobs:
- UnitTestingParams - UnitTestingParams
- PlatformTestingParams - PlatformTestingParams
- UnitTesting - UnitTesting
- PlatformTesting
# - Coverage # - Coverage
- StaticTypeCheck - StaticTypeCheck
# - BuildTheDocs - PlatformTesting
- PublishToGitHubPages - Documentation
- PublishCoverageResults # - PDFDocumentation
- PublishTestResults - PublishTestResults
- PublishCoverageResults
- PublishToGitHubPages
- IntermediateCleanUp
with: with:
package: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }} package: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
remaining: | remaining: |