Replicate Travis CI using GitHub Actions workflow#1010
Replicate Travis CI using GitHub Actions workflow#1010lbolla merged 19 commits intomolior-rebasefrom
Conversation
…o the Travis CI Ubuntu 16.04 environment.
…y used Travis CI setup.
|
Looking good so far! Thanks @ximon18 I can see errors in |
|
Let's break down the failures:
Not being a Go programmer, not knowing the code base, and not having a history of committing to this project, it's hard for me to say what the right approach to take is for each of these. Any advice appreciated. |
|
|
Okay, the easy ones are done, I'll look at the others later when I have some more time. |
|
Thanks @ximon18 ! Don't worry about fixing the other ones. If you can ignore them, go for it and we can fix them on the target branch once this is merged. |
Actually, I pushed a patch to fix those linting errors. Hopefully it should pass now. |
|
Now, as expected, "system tests" are failing. I will try to find the time to fix them as part of this PR. |
|
Thanks @lbolla for picking this PR up so fast and actively contributing to it, very appreciated. |
PublishRepo26Test fails to run because something in the CI environment forces gpg to ask for the user's password. Try to require gpg1 for the test, which seems to run fine in other environments.
|
@ximon18 @randombenj OK, I cheated a bit, but now tests pass. I think we can merge this PR and improve later. Agree? |
|
Yes. The goal was to put the process in place, not to make the code being exercised be any particular sort of "green" :-) I would push merge but there's no option to squash commits in this repository and I don't know what your policy is. Please merge when ready. |
|
Thanks @ximon18 ! |
|
@lbolla: One thing I/we forgot to decide was which events should trigger the CI workflow. Normally this might be on |
This PR is a work-in-progress and is thus in draft state at present.
Known issues:
checktarget of theMakefilewhenmakeis invoked. It appears to be failing due to actual linting issues found in the code but a current aptly committer might be needed to verify that these failures are correct, or indicate if they should be ignored, unless of course there is a problem with the GHA workflow.