diff --git a/.github/workflows/ArtifactCleanUp.yml b/.github/workflows/ArtifactCleanUp.yml index 97929fb..02c72e7 100644 --- a/.github/workflows/ArtifactCleanUp.yml +++ b/.github/workflows/ArtifactCleanUp.yml @@ -25,6 +25,11 @@ name: ArtifactCleanUp on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string package: description: 'Artifacts to be removed on not tagged runs.' required: true @@ -38,7 +43,7 @@ on: jobs: ArtifactCleanUp: name: 🗑️ Artifact Cleanup - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" steps: - name: 🗑️ Delete package Artifacts diff --git a/.github/workflows/CheckDocumentation.yml b/.github/workflows/CheckDocumentation.yml index e88a6bd..71187fe 100644 --- a/.github/workflows/CheckDocumentation.yml +++ b/.github/workflows/CheckDocumentation.yml @@ -24,6 +24,11 @@ name: Check Documentation on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string python_version: description: 'Python version.' required: false @@ -42,7 +47,7 @@ on: jobs: DocCoverage: name: 👀 Check documentation coverage - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" steps: - name: ⏬ Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/CoverageCollection.yml b/.github/workflows/CoverageCollection.yml index 4f8b019..0352027 100644 --- a/.github/workflows/CoverageCollection.yml +++ b/.github/workflows/CoverageCollection.yml @@ -25,6 +25,11 @@ name: Coverage Collection on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string python_version: description: 'Python version.' required: false @@ -63,7 +68,7 @@ jobs: Coverage: name: 📈 Collect Coverage Data using Python ${{ inputs.python_version }} - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" steps: - name: ⏬ Checkout repository diff --git a/.github/workflows/IntermediateCleanUp.yml b/.github/workflows/IntermediateCleanUp.yml index d1a6607..0499174 100644 --- a/.github/workflows/IntermediateCleanUp.yml +++ b/.github/workflows/IntermediateCleanUp.yml @@ -24,6 +24,11 @@ name: Intermediate Cleanup on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string sqlite_coverage_artifacts_prefix: description: 'Prefix for SQLite coverage artifacts' required: false @@ -36,7 +41,7 @@ on: jobs: IntermediateCleanUp: name: 🗑️ Intermediate Artifact Cleanup - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" steps: - name: 🗑️ Delete SQLite coverage artifacts from matrix jobs uses: geekyeggo/delete-artifact@v5 diff --git a/.github/workflows/LaTeXDocumentation.yml b/.github/workflows/LaTeXDocumentation.yml index 675ae04..54ca4f0 100644 --- a/.github/workflows/LaTeXDocumentation.yml +++ b/.github/workflows/LaTeXDocumentation.yml @@ -24,6 +24,11 @@ name: LaTeX Documentation on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string document: description: 'LaTeX root document without *.tex extension.' required: true @@ -42,7 +47,7 @@ on: jobs: PDFDocumentation: name: 📓 Converting LaTeX Documentation to PDF - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" steps: - name: 📥 Download artifacts '${{ inputs.latex_artifact }}' from 'SphinxDocumentation' job uses: actions/download-artifact@v4 diff --git a/.github/workflows/Package.yml b/.github/workflows/Package.yml index b18ad87..476bd37 100644 --- a/.github/workflows/Package.yml +++ b/.github/workflows/Package.yml @@ -25,6 +25,11 @@ name: Package on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string python_version: description: 'Python version.' required: false @@ -44,7 +49,7 @@ jobs: Package: name: 📦 Package in Source and Wheel Format - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" steps: - name: ⏬ Checkout repository diff --git a/.github/workflows/Parameters.yml b/.github/workflows/Parameters.yml index 7983420..393ee55 100644 --- a/.github/workflows/Parameters.yml +++ b/.github/workflows/Parameters.yml @@ -25,6 +25,11 @@ name: Parameters on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string name: description: 'Name of the tool.' required: true @@ -96,7 +101,7 @@ on: jobs: Parameters: - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" outputs: python_version: ${{ steps.params.outputs.python_version }} python_jobs: ${{ steps.params.outputs.python_jobs }} diff --git a/.github/workflows/PublishCoverageResults.yml b/.github/workflows/PublishCoverageResults.yml index 395a120..2e55096 100644 --- a/.github/workflows/PublishCoverageResults.yml +++ b/.github/workflows/PublishCoverageResults.yml @@ -24,6 +24,11 @@ name: Publish Code Coverage Results on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string coverage_config: description: 'Path to the .coveragerc file. Use pyproject.toml by default.' required: false @@ -57,7 +62,7 @@ on: jobs: PublishCoverageResults: name: 📊 Publish Code Coverage Results - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" if: always() steps: diff --git a/.github/workflows/PublishOnPyPI.yml b/.github/workflows/PublishOnPyPI.yml index f108670..b951463 100644 --- a/.github/workflows/PublishOnPyPI.yml +++ b/.github/workflows/PublishOnPyPI.yml @@ -25,6 +25,11 @@ name: Publish on PyPI on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string python_version: description: 'Python version.' required: false @@ -48,7 +53,7 @@ jobs: PublishOnPyPI: name: 🚀 Publish to PyPI - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" steps: - name: 📥 Download artifacts '${{ inputs.artifact }}' from 'Package' job diff --git a/.github/workflows/PublishTestResults.yml b/.github/workflows/PublishTestResults.yml index 4ff32f8..a4e5cd5 100644 --- a/.github/workflows/PublishTestResults.yml +++ b/.github/workflows/PublishTestResults.yml @@ -25,6 +25,11 @@ name: Publish Unit Test Results on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string merged_junit_artifact: description: 'Name of the merged JUnit Test Summary artifact.' required: false @@ -44,7 +49,7 @@ on: jobs: PublishTestResults: name: 📊 Publish Test Results - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" if: always() steps: diff --git a/.github/workflows/PublishToGitHubPages.yml b/.github/workflows/PublishToGitHubPages.yml index 325512b..9f6ed1b 100644 --- a/.github/workflows/PublishToGitHubPages.yml +++ b/.github/workflows/PublishToGitHubPages.yml @@ -25,6 +25,11 @@ name: Publish to GitHub Pages on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string doc: description: 'Name of the documentation artifact.' required: true @@ -44,7 +49,7 @@ jobs: PublishToGitHubPages: name: 📚 Publish to GH-Pages - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" steps: - name: ⏬ Checkout repository diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 764eee7..db77a13 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -29,7 +29,7 @@ jobs: Release: name: 📝 Create 'Release Page' on GitHub - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" steps: - name: 🔁 Extract Git tag from GITHUB_REF diff --git a/.github/workflows/StaticTypeCheck.yml b/.github/workflows/StaticTypeCheck.yml index c37d64f..82fe2bf 100644 --- a/.github/workflows/StaticTypeCheck.yml +++ b/.github/workflows/StaticTypeCheck.yml @@ -25,6 +25,11 @@ name: Static Type Check on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string python_version: description: 'Python version.' required: false @@ -63,7 +68,7 @@ jobs: StaticTypeCheck: name: 👀 Check Static Typing using Python ${{ inputs.python_version }} - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" steps: - name: ⏬ Checkout repository diff --git a/.github/workflows/VerifyDocs.yml b/.github/workflows/VerifyDocs.yml index 574f9c5..f816305 100644 --- a/.github/workflows/VerifyDocs.yml +++ b/.github/workflows/VerifyDocs.yml @@ -25,6 +25,11 @@ name: Verify examples on: workflow_call: inputs: + ubuntu_image_version: + description: 'Ubuntu image version.' + required: false + default: '24.04' + type: string python_version: description: 'Python version.' required: false @@ -35,7 +40,7 @@ jobs: VerifyDocs: name: 👍 Verify example snippets using Python ${{ inputs.python_version }} - runs-on: ubuntu-24.04 + runs-on: "ubuntu-${ubuntu_image_version}" steps: - name: ⏬ Checkout repository diff --git a/pyproject.toml b/pyproject.toml index 210f2d9..4ad4951 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools ~= 75.2", + "setuptools ~= 75.3", "wheel ~= 0.44", "pyTooling ~= 7.0" ] diff --git a/tests/requirements.txt b/tests/requirements.txt index 130f5c6..2ad659b 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -5,7 +5,7 @@ Coverage ~= 7.6 # Test Runner pytest ~= 8.3 -pytest-cov ~= 5.0 +pytest-cov ~= 6.0 # Static Type Checking mypy ~= 1.13