-
I have this Travis configuration for a Python/Plone project: https://github.com/zopyx/xmldirector.connector/blob/master/.travis.yml#L15-L54 This can not be directly expressed as matrix because I want to test only a subset of options that would a matrix give me. So for a number of hand-crafted configurations (expressed through a bunch of environment variables) I want to configure my actions workflow. How can I do that with Github actions? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I took your .travis.yml and did a quick edit.
It should work as you need. Each line inside What is missing is different python versions (which could be passed as yet another variable). I have very little experience with python in Actions so no idea how to select different versions… but (i hope) at least matrix itself won’t be a problem. |
Beta Was this translation helpful? Give feedback.
I took your .travis.yml and did a quick edit.
It should work as you need. Each line inside
strategy.matrix.env
creates a job with selected env vars.What is missing is different python versions (which could be passed as yet another variable). I…