Skip to content

Conversation

@filiphr
Copy link
Member

@filiphr filiphr commented Mar 7, 2020

Fixes #2019

Switch to using GitHub Actions instead of Travis.

The Java 8 testing is slightly slower, but that is because we are not using caching for maven, so it downloads the dependencies every time. We can optimise this later on.

filiphr added 3 commits March 7, 2020 08:56
Add Maven Wrapper for using in GitHub Actions
Remove Travis
Using the latest (4.0-beta1) does not work on Java 8 since it is compiled with Java 9
@filiphr filiphr requested a review from sjaakd March 7, 2020 08:06
Copy link
Member

@chris922 chris922 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really awesome, @filiphr ! :)

I am not used to GitHub actions but the yml looks straight forward. Interesting to see that you have to fix some Locale and TimeZone things, what was the main reason for this? E. g. why do you have to reset to the default locale or fix the timezone to Europe/Berlin?

@filiphr
Copy link
Member Author

filiphr commented Mar 7, 2020

Thanks for the review @chris922.

Interesting to see that you have to fix some Locale and TimeZone things, what was the main reason for this? E. g. why do you have to reset to the default locale or fix the timezone to Europe/Berlin?

Some of the tests were assuming Europe/Berlin timezone. Some other tests were changing the default timezone, but never resetting it. So I aligned that. Probably Travis was running in a different Timezone. I think that the Github runners are on the UTC timezone

@filiphr filiphr merged commit f8a3924 into mapstruct:master Mar 7, 2020
@filiphr filiphr deleted the github-actions branch March 7, 2020 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use GitHub Actions

2 participants