Changed branch names.

This commit is contained in:
Patrick Lehmann
2024-01-13 13:42:14 +01:00
parent 907c0e2239
commit c8c793dd86
6 changed files with 30 additions and 23 deletions

View File

@@ -6,21 +6,21 @@ on:
jobs: jobs:
UnitTestingParams: UnitTestingParams:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@cov uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
with: with:
name: pyDummy name: pyDummy
python_version_list: "3.8 3.9 3.10 3.11 3.12 pypy-3.8 pypy-3.9 pypy-3.10" python_version_list: "3.8 3.9 3.10 3.11 3.12 pypy-3.8 pypy-3.9 pypy-3.10"
disable_list: "windows:pypy-3.10" disable_list: "windows:pypy-3.10"
PlatformTestingParams: PlatformTestingParams:
uses: pyTooling/Actions/.github/workflows/Parameters.yml@cov uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev
with: with:
name: Platform name: Platform
python_version_list: "" python_version_list: ""
system_list: "ubuntu windows macos mingw32 mingw64 clang64 ucrt64" system_list: "ubuntu windows macos mingw32 mingw64 clang64 ucrt64"
UnitTesting: UnitTesting:
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@cov uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
needs: needs:
- UnitTestingParams - UnitTestingParams
with: with:
@@ -33,7 +33,7 @@ jobs:
# coverage_html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }} # coverage_html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_html }}
PlatformTesting: PlatformTesting:
uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@cov uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev
needs: needs:
- PlatformTestingParams - PlatformTestingParams
with: with:
@@ -48,7 +48,7 @@ jobs:
coverage_html_artifact: ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_html }} coverage_html_artifact: ${{ fromJson(needs.PlatformTestingParams.outputs.artifact_names).codecoverage_html }}
# Coverage: # Coverage:
# uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@cov # uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@dev
# needs: # needs:
# - UnitTestingParams # - UnitTestingParams
# with: # with:
@@ -58,7 +58,7 @@ jobs:
# codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }} # codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
StaticTypeCheck: StaticTypeCheck:
uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@cov uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@dev
needs: needs:
- UnitTestingParams - UnitTestingParams
with: with:
@@ -69,7 +69,7 @@ jobs:
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }} html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
PublishCoverageResults: PublishCoverageResults:
uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@cov uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@dev
needs: needs:
- UnitTestingParams - UnitTestingParams
- UnitTesting - UnitTesting
@@ -84,13 +84,13 @@ jobs:
codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }} codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }}
PublishTestResults: PublishTestResults:
uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@cov uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev
needs: needs:
- UnitTesting - UnitTesting
- PlatformTesting - PlatformTesting
Package: Package:
uses: pyTooling/Actions/.github/workflows/Package.yml@cov uses: pyTooling/Actions/.github/workflows/Package.yml@dev
needs: needs:
- UnitTestingParams - UnitTestingParams
- UnitTesting - UnitTesting
@@ -101,14 +101,14 @@ jobs:
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }} artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }}
# VerifyDocs: # VerifyDocs:
# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@cov # uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev
# needs: # needs:
# - UnitTestingParams # - UnitTestingParams
# with: # with:
# python_version: ${{ needs.UnitTestingParams.outputs.python_version }} # python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
BuildTheDocs: BuildTheDocs:
uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@cov uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@dev
needs: needs:
- UnitTestingParams - UnitTestingParams
# - VerifyDocs # - VerifyDocs
@@ -116,7 +116,7 @@ jobs:
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }} artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }}
PublishToGitHubPages: PublishToGitHubPages:
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@cov uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@dev
needs: needs:
- UnitTestingParams - UnitTestingParams
- BuildTheDocs - BuildTheDocs
@@ -129,7 +129,7 @@ jobs:
typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }} typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }}
ReleasePage: ReleasePage:
uses: pyTooling/Actions/.github/workflows/Release.yml@cov uses: pyTooling/Actions/.github/workflows/Release.yml@dev
if: startsWith(github.ref, 'refs/tags') if: startsWith(github.ref, 'refs/tags')
needs: needs:
- UnitTesting - UnitTesting
@@ -140,7 +140,7 @@ jobs:
- PublishToGitHubPages - PublishToGitHubPages
PublishOnPyPI: PublishOnPyPI:
uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@cov uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev
if: startsWith(github.ref, 'refs/tags') if: startsWith(github.ref, 'refs/tags')
needs: needs:
- UnitTestingParams - UnitTestingParams
@@ -154,7 +154,7 @@ jobs:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
ArtifactCleanUp: ArtifactCleanUp:
uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@cov uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev
needs: needs:
- UnitTestingParams - UnitTestingParams
- PlatformTestingParams - PlatformTestingParams

View File

@@ -1,4 +1,7 @@
Code Coverage Report Code Coverage Report
#################### ####################
*Placeholder for the Coverage report generated with* ``pytest`` *and* ``coverage``. Code coverage report generated with ``pytest`` and ``coverage.py``.
.. report:code-coverage::
:packageid: src

View File

@@ -172,8 +172,9 @@ License
:hidden: :hidden:
pyDummy/pyDummy pyDummy/pyDummy
Unittest Report ➚ <unittests/index> unittests/index
Coverage Report ➚ <coverage/index> coverage/index
Doc. Coverage Report <DocCoverage>
Static Type Check Report ➚ <typing/index> Static Type Check Report ➚ <typing/index>
.. raw:: latex .. raw:: latex

View File

@@ -1,4 +1,7 @@
UnitTest Report Unittest Summary Report
############### #######################
*Placeholder for the unittest report generated with* ``pytest``. Code coverage report generated with ``pytest``.
.. report:unittest-summary::
:reportid: src

View File

@@ -1,6 +1,6 @@
[build-system] [build-system]
requires = [ requires = [
"setuptools >= 68.0.0", "setuptools >= 69.0.0",
"wheel >= 0.40.0", "wheel >= 0.40.0",
"pyTooling >= 5.0.0" "pyTooling >= 5.0.0"
] ]

View File

@@ -38,7 +38,7 @@ from pyDummy import Application
if __name__ == "__main__": # pragma: no cover if __name__ == "__main__": # pragma: no cover
print("ERROR: you called a testcase declaration file as an executable module.") print("ERROR: you called a testcase declaration file as an executable module.")
print("Use: 'python -m unitest <testcase module>'") print("Use: 'python -m unittest <testcase module>'")
exit(1) exit(1)