GitHub Actions for running tests and formatting checks
almacdon at redhat.com
Fri Nov 22 22:27:57 UTC 2019
On Fri, Nov 22, 2019 at 5:02 PM Marcus Hirt <marcus.hirt at datadoghq.com>
> Hi all,
> I’d like to build GitHub actions for running our tests and formatting
> checks automatically. This will however need for Docker and the maven
> image on Docker Hub to be used as new project third-party
> dependencies. Does anyone have any opinions around this?
> Note: This is only for triggering these tests etc to be run as part of
> the GitHub process.
FWIW, as far as running tests are concerned, I've been using Travis CI 
to automate the running of unit tests (and previously uitests until they
timed out on my free account). Now that JMC is on GitHub it shouldn't be
hard to edit the files to make it work with the main repo.
The process just involves enabling Travis for the repo, and supplying a
yaml file explaining what happens when Travis starts. These builds can also
be attached to PRs, pushes, cron jobs, etc..
For example, I have a repo  with some scripts that cloned and built JMC.
On a free account IIRC the builds time out after an hour, which is
unfortunately not enough time to complete the uitests. I used to have a pro
account as a part of my GitHub student pack (and the uitests would run to
completion using a virtual display) but this is no longer the case. In any
case, I still keep it around to make sure the builds and unit tests run
fine for Linux (Ubuntu) , Mac , and Windows .
> Kind regards,
More information about the jmc-dev