From c8c793dd860a5190abea092216a8797b542caf58 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Sat, 13 Jan 2024 13:42:14 +0100 Subject: [PATCH] Changed branch names. --- .github/workflows/_Checking_Pipeline.yml | 30 ++++++++++++------------ doc/coverage/index.rst | 5 +++- doc/index.rst | 5 ++-- doc/unittests/index.rst | 9 ++++--- pyproject.toml | 2 +- tests/platform/Specific.py | 2 +- 6 files changed, 30 insertions(+), 23 deletions(-) diff --git a/.github/workflows/_Checking_Pipeline.yml b/.github/workflows/_Checking_Pipeline.yml index 872243a..caaf3ad 100644 --- a/.github/workflows/_Checking_Pipeline.yml +++ b/.github/workflows/_Checking_Pipeline.yml @@ -6,21 +6,21 @@ on: jobs: UnitTestingParams: - uses: pyTooling/Actions/.github/workflows/Parameters.yml@cov + uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev with: name: pyDummy 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" PlatformTestingParams: - uses: pyTooling/Actions/.github/workflows/Parameters.yml@cov + uses: pyTooling/Actions/.github/workflows/Parameters.yml@dev with: name: Platform python_version_list: "" system_list: "ubuntu windows macos mingw32 mingw64 clang64 ucrt64" UnitTesting: - uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@cov + uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev 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@cov + uses: pyTooling/Actions/.github/workflows/UnitTesting.yml@dev 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@cov +# uses: pyTooling/Actions/.github/workflows/CoverageCollection.yml@dev # needs: # - UnitTestingParams # with: @@ -58,7 +58,7 @@ jobs: # codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }} StaticTypeCheck: - uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@cov + uses: pyTooling/Actions/.github/workflows/StaticTypeCheck.yml@dev needs: - UnitTestingParams with: @@ -69,7 +69,7 @@ jobs: html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }} PublishCoverageResults: - uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@cov + uses: pyTooling/Actions/.github/workflows/PublishCoverageResults.yml@dev needs: - UnitTestingParams - UnitTesting @@ -84,13 +84,13 @@ jobs: codacy_token: ${{ secrets.CODACY_PROJECT_TOKEN }} PublishTestResults: - uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@cov + uses: pyTooling/Actions/.github/workflows/PublishTestResults.yml@dev needs: - UnitTesting - PlatformTesting Package: - uses: pyTooling/Actions/.github/workflows/Package.yml@cov + uses: pyTooling/Actions/.github/workflows/Package.yml@dev needs: - UnitTestingParams - UnitTesting @@ -101,14 +101,14 @@ jobs: artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).package_all }} # VerifyDocs: -# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@cov +# uses: pyTooling/Actions/.github/workflows/VerifyDocs.yml@dev # needs: # - UnitTestingParams # with: # python_version: ${{ needs.UnitTestingParams.outputs.python_version }} BuildTheDocs: - uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@cov + uses: pyTooling/Actions/.github/workflows/BuildTheDocs.yml@dev needs: - UnitTestingParams # - VerifyDocs @@ -116,7 +116,7 @@ jobs: artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }} PublishToGitHubPages: - uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@cov + uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@dev needs: - UnitTestingParams - BuildTheDocs @@ -129,7 +129,7 @@ jobs: typing: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).statictyping_html }} ReleasePage: - uses: pyTooling/Actions/.github/workflows/Release.yml@cov + uses: pyTooling/Actions/.github/workflows/Release.yml@dev if: startsWith(github.ref, 'refs/tags') needs: - UnitTesting @@ -140,7 +140,7 @@ jobs: - PublishToGitHubPages PublishOnPyPI: - uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@cov + uses: pyTooling/Actions/.github/workflows/PublishOnPyPI.yml@dev if: startsWith(github.ref, 'refs/tags') needs: - UnitTestingParams @@ -154,7 +154,7 @@ jobs: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} ArtifactCleanUp: - uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@cov + uses: pyTooling/Actions/.github/workflows/ArtifactCleanUp.yml@dev needs: - UnitTestingParams - PlatformTestingParams diff --git a/doc/coverage/index.rst b/doc/coverage/index.rst index 719080f..4d4c329 100644 --- a/doc/coverage/index.rst +++ b/doc/coverage/index.rst @@ -1,4 +1,7 @@ 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 diff --git a/doc/index.rst b/doc/index.rst index 59cfb84..87f4804 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -172,8 +172,9 @@ License :hidden: pyDummy/pyDummy - Unittest Report ➚ - Coverage Report ➚ + unittests/index + coverage/index + Doc. Coverage Report Static Type Check Report ➚ .. raw:: latex diff --git a/doc/unittests/index.rst b/doc/unittests/index.rst index dd6de5e..ae372b8 100644 --- a/doc/unittests/index.rst +++ b/doc/unittests/index.rst @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 48331b8..34a2ea0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools >= 68.0.0", + "setuptools >= 69.0.0", "wheel >= 0.40.0", "pyTooling >= 5.0.0" ] diff --git a/tests/platform/Specific.py b/tests/platform/Specific.py index dc2c660..283f069 100644 --- a/tests/platform/Specific.py +++ b/tests/platform/Specific.py @@ -38,7 +38,7 @@ from pyDummy import Application if __name__ == "__main__": # pragma: no cover print("ERROR: you called a testcase declaration file as an executable module.") - print("Use: 'python -m unitest '") + print("Use: 'python -m unittest '") exit(1)