-
Notifications
You must be signed in to change notification settings - Fork 19
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
Actions #53
Actions #53
Conversation
os: [ubuntu-latest, windows-latest, macos-latest] | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
maven_commands: test # default is install |
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.
The main downside is the HTTP and S3 tests, enabled by -Dtestng.runHttpRemoteTests=1 -Dtestng.runS3RemoteTests=1
in the original Travis YML file, are no longer executed.
My attempts at enabling these tests in a workflow similar to the one you have done have been largely unsuccessful and this is the reason why this repo has not updated like the others so far. The main problem is that start-location.sh
is very Linux-specific at the moment.
Unless you have more success, the option I have been contemplating would be have two separate workflows:
- the default
maven
workflow copied from the org template testing compilation and default tests across platforms/Java version - a separate workflow testing S3/HTTP on ubuntu only with the custom S3 set-up script
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.
I did not have much success either with the http and s3 tests.
For this round, i am more in favour of putting the infra in place and enabling the tests in a follow-up PR
I was initially going for the maven template.
We could split the original travis file into 2 as you indicated in your previous comment
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.
No issue with having the S3/HTTP tests enabled as a follow-up. Can your remove the custom start-location.sh
block as it is effectively unused?
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.
Note: the current start-location.sh
does not work as it stands on ubuntu. This will have to be reviewed in a follow-up PR
Replace travis by GHA
https://github.com/jburel/ome-common-java/actions/runs/417773340