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 #107

Merged
merged 23 commits into from
Jan 14, 2025
Merged

v4.0.0 #107

merged 23 commits into from
Jan 14, 2025

Conversation

Paebbels
Copy link
Member

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 Jan 14, 2025
@Paebbels Paebbels merged commit 5128522 into r4 Jan 14, 2025
148 of 150 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant