Skip to content
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

Merged
merged 5 commits into from
Dec 13, 2020
Merged

Actions #53

merged 5 commits into from
Dec 13, 2020

Conversation

jburel
Copy link
Member

@jburel jburel commented Dec 12, 2020

os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
env:
maven_commands: test # default is install
Copy link
Member

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

Copy link
Member Author

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

Copy link
Member

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?

Copy link
Member Author

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

@jburel
Copy link
Member Author

jburel commented Dec 13, 2020

@sbesson sbesson merged commit b406856 into ome:master Dec 13, 2020
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.

2 participants