We are currently having a problem with Travis CI. You may have noticed
that your recent PRs are not being tested with Travis, that they seem
never to start. I think that is my fault for not signing up for the
open-source plan for linux-system-roles earlier. I have done so, but I
have no idea when they will respond.
In the meantime, I have been investigating using Github Actions.
Here is the workflow definition file:
There was a good bit of hackery to support py26 since Github Actions
Workflows (actions/setup-python@v2) doesn't support it natively.
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.
What do you think?