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

Combine the GitHub workflows for pull requests. #1588

Merged
merged 1 commit into from
May 21, 2024

Conversation

motlin
Copy link
Contributor

@motlin motlin commented May 20, 2024

Before:

Screenshot 2024-05-19 at 10 58 04 PM

After:

Screenshot 2024-05-19 at 10 58 21 PM

Before:

Screenshot 2024-05-19 at 10 59 31 PM

After:

Screenshot 2024-05-19 at 10 59 45 PM

@motlin motlin changed the title Upgrade maven from 3.6.3 to 3.9.6. Upgrade maven, turn on colors, and combine the GitHub workflows for pull requests. May 20, 2024
@motlin
Copy link
Contributor Author

motlin commented May 20, 2024

It's best to organize GitHub workflows so that there's one per trigger (for us that will be pull request and cron) and then have several jobs within each workflow.

These changes are stacked on #1585 and must land afterwards.

@motlin motlin changed the title Upgrade maven, turn on colors, and combine the GitHub workflows for pull requests. Combine the GitHub workflows for pull requests. May 20, 2024
@motlin motlin force-pushed the maven-config branch 2 times, most recently from b491c85 to 2c99ae8 Compare May 21, 2024 01:01
@motlin motlin marked this pull request as ready for review May 21, 2024 01:01
Copy link
Contributor

@donraab donraab left a comment

Choose a reason for hiding this comment

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

Minor inconsistency between javadoc and javadocearlyaccess

distribution: 'zulu'
java-version: 11
- name: JavaDoc Aggregate
run: ./mvnw -Dsurefire.useFile=false -DskipTests -Denforcer.skip=true clean install javadoc:aggregate --projects '!unit-tests,!serialization-tests,!jcstress-tests,!junit-trait-runner,!unit-tests-java8,!test-coverage,!p2-repository,!org.eclipse.collections:org.eclipse.collections'
Copy link
Contributor

Choose a reason for hiding this comment

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

@motlin , you changed from -pl to --projects for both run commands here.

- run: mvn --non-recursive wrapper:wrapper -Dmaven=3.9.6
- run: java --version
- name: Javadoc
run: ./mvnw -Dsurefire.useFile=false -DskipTests -Denforcer.skip=true clean install javadoc:aggregate -pl '!unit-tests,!serialization-tests,!jcstress-tests,!junit-trait-runner,!unit-tests-java8,!test-coverage,!p2-repository,!org.eclipse.collections:org.eclipse.collections'
Copy link
Contributor

Choose a reason for hiding this comment

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

@motlin , you left this one as -pl instead of --projects as you have above in the javadoc job section.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@donraab replaced both -pl with --projects

Copy link
Contributor

@donraab donraab left a comment

Choose a reason for hiding this comment

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

LGTM

@donraab donraab merged commit ee5b5ed into eclipse:master May 21, 2024
16 checks passed
@motlin motlin deleted the maven-config branch May 21, 2024 18:29
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.

None yet

2 participants