The other missing piece is tox-travis, which allows you to have fine
grained control of which tox tests are run for a specific version of
python. So right now we run all of the default tox jobs for all of the
python versions (e.g. we run black, flake8, etc. on all versions of
python). If we wanted to do the same in GHA, we would have to define an
explicit job for each version of python (instead of using the matrix
feature) - AFAIK (I'm quite new to GA so if anyone has a better way to
do this, let me know). IMO this is not a blocker to move to GHA.
Disclaimer: I have GitHub actions knowledge, but I'm new to tox ;)
Are you looking for matrix jobs with two lists, where you get the cartesian product of
both lists? [1]
Example:
strategy:
matrix:
pyver: ['2.7', '3.6', '3.7', '3.8',
'3.9']
job: ['black', 'flake8']
Further down in the doc [1] there are examples how to include custom combinations - for
example if you want to run a specific tox job only with a single Python version. You can
also exclude some combinations.
[1]
https://docs.github.com/en/free-pro-team@latest/actions/reference/workflo...
Cheers,
Andreas