Is there an easy way to add environment variables to the choices of downstream tes

Is there an easy way to add environment variables to the choices of downstream tests in https://github.com/SciML/SciMLBase.jl/blob/master/.github/workflows/Downstream.yml ?

Note that the original poster on Slack cannot see your response here on Discourse. Consider transcribing the appropriate answer back to Slack, or pinging the poster here on Discourse so they can follow this thread.
(Original message :slack:) (More Info)

A way to do this is to add another “item” to the matrix that can be used to set the environment variables for the job. As a concrete example, see this commit, which adds the “group” item to the matrix, and references matrix.package.group to set the GROUP environment variable:
https://github.com/SciML/SciMLBase.jl/commit/236b9155798670a427994f4e9e0f4a44ad30a927

1 Like