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