New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GitHub Actions for CI #2367
Conversation
cool :-) |
The failure is a timing issue. It wasn't failing for me on my job runs. It's something we should look at though at some point as timing assumptions are bad in unit/integration tests IMO. |
In the workflow I added |
One of the reasons the Remoting 2 testsuite took about 5 hours. ;-) |
Hi @jamezp,
I'm not following, probably because I don't know anything about Github Actions. But do you mean we would have to do something nasty like push a bogus commit to get the tests to run again? |
If we want to keep the |
Ah I may have a solution for the continue-on-error issue. I guess it's a good time to test it :) |
looks great! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jamezp this looks great. I think I'll merge this, I'm only thinking if/how/when to get rid of the Travis runs. What seems to be missing compared to the Travis CI runs is:
- Javadoc build
- Testing against multiple containers
- Elytron testing
Do you think we can add do anything for that ?
As an interim solution, we could get rid of the travis run that's duplicated by one of the new github action runs. |
@asoldano Yes we can add any combination of those. We could either use a matrix if we want to add these options or we could just add a separate workflow for specific features. |
@asoldano Do we want to test the different WildFly version on both OS's? I ask because if we do that we end up with 10 jobs ran per PR. Maybe that's not a huge deal, but just wondering. I guess either way it would be 8 jobs. |
… local environment.
…xecutor for a more graceful shutdown.
Okay updated to run JavaDoc builds against Java 8 and 11 on Linux, plus the different versions of WildFly |
The failures seem to be kind of random. I have learned only those with permissions can restart the workflow run so I can't restart it. |
@asoldano @liweinan @ronsigal This should now be ready and duplicates what we're doing in TravisCI. It also archives the surefire reports and server.log's for each job in case they need to be inspected when failures occur. If this looks okay I'll back port this to 4.5 and 3.12 as well. I believe those are the working branches at least. If not let me know which branches it would need to be on. |
@jamezp +1 from my side |
Great, I'm merging this, thanks @jamezp |
https://issues.redhat.com/browse/RESTEASY-2561
https://issues.redhat.com/browse/RESTEASY-2564
The first commit fixes tests to work on multiple environments.
The second change adds a GitHub Action and ignores the MicroProfile TCK for Windows
The third commit uses a default 10 second delay when stopping the
SunHttpJaxrsServer
. This only delays 10 seconds if the server has not successfully stopped in that delay.