Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.0.0 #105

Merged
merged 22 commits into from
Jan 14, 2025
Merged

v4.0.0 #105

merged 22 commits into from
Jan 14, 2025

Conversation

Paebbels
Copy link
Member

@Paebbels Paebbels commented Dec 26, 2024

New Features

  • ExtractConfiguration provides new output parameters:
    • unittest_report_xml_directory
    • unittest_report_xml_filename
    • unittest_report_xml
    • coverage_report_xml_filename
    • coverage_report_json_filename
    • First 3 parameters are read from:
      [tool.pytest]
      junit_xml=
      Latter 2 parameters are read from:
      [tool.coverage.xml]
      output=
      [tool.coverage.json]
      output=
  • UnitTesting has new parameters to specify the pytest JUnit file:
    • unittest_report_xml_directory
    • unittest_report_xml_filename
  • UnitTesting has new parameters ....................................
    • coverage_report_html_directory
  • NightlyRelease an now produce an inventory.json file.
    • New parameter inventory-json to specify the inventory filename.
    • New parameter inventory-categories to specify the actual version shipped in the release. E.g. in case of a nightly release to specify it as 5.0.0-dev.
    • New parameter inventory-categories to specify the ordner and number of applied categories per file.
      {
        "version":          1.0,
        "timestamp":        "2025-01-14T12-20-51+00:00",
        "meta": {
          "tag":            "nightly",
          "version":        "4.2.5",
          "git-hash":       "699f86b451cf083927197327809b5c67550692dd",
          "repository-url": "https://github.com/pyTooling/Actions",
          "release-url":    "https://github.com/pyTooling/Actions/releases/download/nightly",
          "categories":     ["os", "version"]
        },
        "files": {
          "ubuntu":  {"24.04": {"file": "application",     "title": "Application - myTool - 4.2.0" } },
          "macos":   {"14":    {"file": "application",     "title": "Application - myTool - 4.2.0" } },
          "windows": {"2022":  {"file": "application.exe", "title": "Application - myTool - 4.2.0" } }
        }
      }
    • Asset specifications now accept 3 and 4 :-separated fields:

      • 3 part format: <artifact-name>:<file-name>:<asset-title>
      • 4 part format: <artifact-name>:<file-name>:<inventory-categories>:<asset-title>

      <inventory-categories> is a ,-separated list of categories used to insert assets into the inventory JSON file. Categories are processed left-to-right.

Changes

Bug Fixes

  • Changed dependency from interrogate to interrogate[png]
  • Enhanced artifact pattern/filter, when downloading code coverage results in PublishCoverageResults.yml:
    *-CodeCoverage-**-CodeCoverage-SQLite-*
  • Enhanced artifact pattern/filter, when downloading uni testing results in PublishTestResults.yml:
    *-UnitTestReportSummary-**-UnitTestReportSummary-XML-*

Documentation

  • Updated README.
  • Fixed shields.

Unit Tests

  • Updated test pipelines.
  • CompletePipeline uses latest templates and extracted parameters.
  • Removed mingw32 from pipeline tests due to missing dependencies like tomli in MSYS2/MinGW32.

Related Issues and Pull-Requests

@Paebbels Paebbels self-assigned this Dec 26, 2024
@Paebbels Paebbels force-pushed the dev branch 6 times, most recently from eb421bb to 287bfd9 Compare January 14, 2025 11:05
@Paebbels Paebbels force-pushed the dev branch 2 times, most recently from 18638ff to 4b95b32 Compare January 14, 2025 12:16
@Paebbels Paebbels force-pushed the dev branch 4 times, most recently from 08d940a to 4e83627 Compare January 14, 2025 12:35
@Paebbels Paebbels added Enhancement New feature or request Pipeline Reusable workflows labels Jan 14, 2025
@Paebbels Paebbels changed the title v3.2.0 v4.0.0 Jan 14, 2025
@Paebbels Paebbels marked this pull request as ready for review January 14, 2025 16:00
@Paebbels Paebbels merged commit 5d8a608 into main Jan 14, 2025
137 of 138 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Pipeline Reusable workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant