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

Run tests on Java 5/6/7 in CI environment #1504

Closed
remkop opened this issue Dec 7, 2021 · 1 comment
Closed

Run tests on Java 5/6/7 in CI environment #1504

remkop opened this issue Dec 7, 2021 · 1 comment
Labels
theme: build An issue or change related to the build system theme: compatibility Issues related to binary and source backwards compatibility
Milestone

Comments

@remkop
Copy link
Owner

remkop commented Dec 7, 2021

Investigate whether it is possible to run the tests on a Java 5, Java 6 and/or Java 7 in a CI environment like GitHub Actions Workflow or Travis.

Perhaps this GitHub action is useful:
https://github.com/gradle/gradle-build-action

@remkop remkop added theme: compatibility Issues related to binary and source backwards compatibility theme: build An issue or change related to the build system labels Dec 7, 2021
remkop added a commit that referenced this issue Dec 7, 2021
remkop added a commit that referenced this issue Dec 7, 2021
remkop added a commit that referenced this issue Dec 7, 2021
@remkop remkop added this to the 4.6.3 milestone Dec 7, 2021
remkop added a commit that referenced this issue Dec 7, 2021
remkop added a commit that referenced this issue Dec 7, 2021
@remkop remkop closed this as completed in 403c217 Dec 8, 2021
@remkop
Copy link
Owner Author

remkop commented Dec 8, 2021

I was unable to automate testing on Java 5 in the GitHub Actions CI environment, mainly because I could not find a way to install Java 5...

(Downloading the Java 5 binaries from the Oracle Archive requires an account, agreeing to some license, etc. I could not see how to automate this easily.)

The current state is that the GitHub Actions CI builds picocli and runs the tests on Java 6 and 7.
Building and running on Java 5 can be done locally on a developer workstation that has Java 5 installed.

The configuration for building on Java 5-6-7 lives in the picocli-legacy-tests directory of the main picocli project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: build An issue or change related to the build system theme: compatibility Issues related to binary and source backwards compatibility
Projects
None yet
Development

No branches or pull requests

1 participant