Skip to content

Conversation

@rnro
Copy link
Contributor

@rnro rnro commented Dec 5, 2024

Motivation:

The new test matrix workflow is quite verbose in the most common case, unit tests, outputting two workflow entries for handling and preparing the matrix inputs.

In addition to this, it appeared that when running in act the matrix preparation step would run multiple times.

Modifications:

  • Prioritize the current most common case, string inputs, and skip the matrix preparation step in this case reducing the number of workflows run.
  • Separate the path for loading the JSON matrix from a file into its own workflow.

Result:

  • Less noise in the output
  • More reliable and efficient local matrix runs

@rnro rnro added the semver/none No version bump required. label Dec 5, 2024
@rnro rnro force-pushed the prioritise_string_input branch from a192850 to 51b0c5b Compare December 5, 2024 14:44
Motivation:

The new test matrix workflow is quite verbose in the most common case,
unit tests, outputting two workflow entries for handling and preparing the matrix inputs.

In addition to this, it appeared that when running in `act` the matrix
preparation step would run multiple times.

Modifications:

* Prioritize the current most common case, string inputs, and skip the
  matrix preparation step in this case reducing the number of workflows
  run.
* Separate the path for loading the JSON matrix from a file into its own
  workflow.

Result:

* Less verbose output
* More reliable and efficient local matrix runs
@rnro rnro force-pushed the prioritise_string_input branch from 237088b to 63b51f9 Compare December 5, 2024 14:46
@rnro rnro enabled auto-merge (squash) December 5, 2024 14:52
@rnro rnro merged commit 74f7674 into main Dec 5, 2024
36 of 39 checks passed
@rnro rnro deleted the prioritise_string_input branch December 5, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants