You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see you can use jq queries to modify the strategy matrix. I would like to only test Python versions 3.10 and later. But I only know basic jq queries, so I'm not sure how to do this. An example would be very helpful. (Anyway, I am reading the jq documentation right now trying to figure it out.)
The text was updated successfully, but these errors were encountered:
taughz
added a commit
to taughz/colcon-ci
that referenced
this issue
Dec 19, 2024
Adds new arguments the `pytest.yaml` reusable workflow, to make it
easier to specify a strategy. To generate the strategy, a small utility
`genstrat.py` has been added. By default, this utility will output a
file identical to the old `strategy.json` (which has been deleted). It
is still possible to use `matrix-filter`, if a user prefers to use that.
Resolves: colcon#37
I could not figure out how to make jq do what I wanted. (I'm sure it's possible, but I have no interest in learning the jq language just to make trivial modifications.) Instead, I added some more convenient inputs to the workflow in #38. The default behavior is to produce a strategy identical to the current strategy.json, so it is backwards compatible.
I see you can use
jq
queries to modify the strategy matrix. I would like to only test Python versions 3.10 and later. But I only know basicjq
queries, so I'm not sure how to do this. An example would be very helpful. (Anyway, I am reading thejq
documentation right now trying to figure it out.)The text was updated successfully, but these errors were encountered: