Skip to content

Releases: pyTooling/Actions

tip

20 Apr 17:22
Compare
Choose a tag to compare
tip Pre-release
Pre-release
Converted boolean parameters to string.

v4.3.0

18 Apr 10:42
33edd82
Compare
Choose a tag to compare

Release created on: 18.04.2025 - 08:47:38

New Features

  • CompletePipeline.yml:
    • Added new codecov parameter to enable publishing coverage and unittest reports to Codecov.
    • Added new codacy parameter to enable publishing coverage reports to Codacy.
    • Added new dorny parameter to enable publishing unittest reports via Dorny Test-Reporter.
    • Added new cleanup parameter to skip cleanup jobs, thus temporary artifacts aren't removed and can be investigated after pipeline run.
  • ExtractConfiguration.yml:
    • Provide more output parameters for merged unittest reports in XML format:
      • unittest_merged_report_xml_directory
      • unittest_merged_report_xml_filename
      • unittest_merged_report_xml
  • PublishCoverageResults.yml
    • Added option codecov to activate publishing to Codecov.
    • Added option codacy to activate publishing to Codacy.
  • PublishTestResults.yml
    • Added option testsuite-summary-name to set the TestsuiteSummary name.
    • Added option codecov to activate publishing to Codecov.
    • Added option dorny to activate publishing via Dorny Test-Reporter.
      (This will replace publish in future versions.)

Changes

  • Bumped Python dependencies.
  • Updated dorny/test-reporter from v1 to v2
  • Changed default Python version in all jobs to 3.13.
  • CompletePipeline.yml
    • Set testsuite-summary-name for job PublishTestResults to package_name from input parameters.
  • PublishCoverageResults.yml:
    • Removed extraction of configuration variables and use variables provided by the ExtractConfiguration.yml job via input parameters.
      (Reduced code duplication.)
    • New parameters:
      • coverage_report_xml_directory and coverage_report_xml_filename
      • coverage_report_json_directory and coverage_report_json_filename
      • coverage_report_html_directory

Bug Fixes

  • CompletePipeline.yml
    • Forward secrets for Codacy and Codecov.
    • Job PublishCoverageResults:
      • Provide parameters coverage_report_json_directory, coverage_report_json_filename and coverage_report_html_directory to the job.
    • PublishTestResults:
      • Provide parameters merged_junit_filename to the job.
    • Documentation
      • Parameter unittest_xml_artifact: Use merged unittest results artifact from PublishTestResults.
        (Before this change, one specific unittest variant - Ubuntu Python 3.12 - was used.)
  • PublishCoverageResults.yml:
    • Run coverage report to XML conversion, also if no artifact is activated, but codacy or codecov is active.

Documentation

None

Unit Tests

  • Adjusted code due to parameter changes.

v4.2.2

07 Mar 20:24
42e17fa
Compare
Choose a tag to compare

Release created on: 07.03.2025 - 20:23:18

Bug Fixes

  • Do not require coverage_report_json_directory in SphinxDocumentation.yml.
  • Use doc_directory instead of hard-coded paths for workarounds.

Related Issues and Pull-Requests

v4.2.1

07 Mar 20:21
c81d139
Compare
Choose a tag to compare

Release created on: 02.03.2025 - 15:07:04

Bug Fixes

  • Allow comments in the list of assets.

v4.2.0

28 Feb 22:10
78fdb58
Compare
Choose a tag to compare

New Features

Changes

  • Bumped dependencies.
  • Improved indentation of error messages.
  • Improved Bash coding style.

Bug Fixes

  • Fixed done < <( ... ) syntax.
  • Fail step and job, if previous errors were encountered.

Documentation

  • Fixed shield URLs.

v4.1.0

16 Jan 20:59
679ec24
Compare
Choose a tag to compare

Changes

  • Bumped dependencies.
  • Improved YAML coding style.
  • Added timezone to nightly release text footer line.
  • Collect output from zip in a collapsible section.
  • Reduced restrictions on finding XML files for JUnit test report summary files.

Bug Fixes

  • Removed artifact directory names from asset filenames in inventory JSON.

v4.0.1

15 Jan 10:08
Compare
Choose a tag to compare

Bug Fixes

  • Fixed delimiter sign for category splitting: use ,

v4.0.0

15 Jan 10:07
Compare
Choose a tag to compare

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

  • Bumped dependencies.
  • Bumped MSYS2 Python version from 3.11 to 3.12.
    (Python 3.13 isn't yet supported by MSYS2 environments.)
  • Exchanged echo by printf in Bash scripting.
  • Reworked LaTeX/MikTeX job:
  • Implemented workarounds in the SphinxDocumentation template to workaround 2 bugs in Sphinx:
  • Removed Extract configurations from pyproject.toml step from UnitTesting workflow template. The needed information are provided by the separate ExtractConfiguration workflow template. While it needs some parameter passing, it reduces duplicated code for parsing the TOML configuration.

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

v3.1.1

15 Jan 10:05
9ceefdb
Compare
Choose a tag to compare

Bug Fixes

  • Remove temporary tarball after extraction.

v3.1.0

15 Jan 10:04
fdee9e0
Compare
Choose a tag to compare

New Features

  • Support embedded tarballs for nightly release's artifacts when uploaded via pyTooling/upload-artifact.

Unit Tests

  • Check nightly release's artifact downloader with/without embedded tarball.