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

Add CI for sample Java applications #73

Merged
merged 4 commits into from
Oct 11, 2024
Merged

Add CI for sample Java applications #73

merged 4 commits into from
Oct 11, 2024

Conversation

KodaiD
Copy link
Contributor

@KodaiD KodaiD commented Oct 9, 2024

Description

Currently, our sample Java applications for ScalarDB do not have CI.

These sample applications should be able to be built with all Java versions we support (i.e., 8, 11, 17, and 21), and this should be verified in CI.

So, in this PR, I add a CI that runs ./gradlew build for all the sample Java applications.

Related issues and/or PRs

In the following PRs we have fixed the sample applications so that they work with all Java versions we support (i.e., 8, 11, 17, and 21):

Changes made

  • Add CI that runs ./gradlew build for all the sample applications except for the followings:
    • scalardb-analytics-postgresql-sample
    • scalardb-analytics-spark-sample
    • scalardb-cluster-standalone-modestandalone-mode)

Checklist

  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes.
  • Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.).
  • Tests (unit, integration, etc.) have been added for the changes.
  • My changes generate no new warnings.
  • Any dependent changes in other PRs have been merged and published.

Additional notes (optional)

I'll fix the documentation of the sample applications after this PR is merged into the main branch.

@KodaiD KodaiD added the enhancement New feature or request label Oct 9, 2024
@KodaiD KodaiD self-assigned this Oct 9, 2024
Copy link
Contributor

@kota2and3kan kota2and3kan left a comment

Choose a reason for hiding this comment

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

Thank you for creating a new CI!
I left minor suggestions.
Please take a look when you have time! 🙇‍♀️

.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
.github/workflows/ci.yml Outdated Show resolved Hide resolved
.github/workflows/ci.yml Show resolved Hide resolved
KodaiD and others added 3 commits October 9, 2024 14:35
Copy link
Contributor

@komamitsu komamitsu left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

name: CI

on:
push:
Copy link
Contributor

Choose a reason for hiding this comment

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

[minor] Probably this can be removed with some configurations as well as scalar-labs/scalardb#1620

Copy link
Contributor

@kota2and3kan kota2and3kan left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

Copy link
Collaborator

@brfrn169 brfrn169 left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

Copy link
Contributor

@feeblefakie feeblefakie left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@feeblefakie feeblefakie merged commit 2f63061 into main Oct 11, 2024
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants