Skip to content

Commit

Permalink
Backport to branch(3.11) : Add build tests for getting started exam…
Browse files Browse the repository at this point in the history
…ple projects (#1875)

Co-authored-by: Mitsunori Komatsu <[email protected]>
  • Loading branch information
feeblefakie and komamitsu authored Jun 10, 2024
1 parent bac8ef6 commit 6f2c20f
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,52 @@ jobs:
with:
arguments: :schema-loader:dockerfileLint

build-check-example-project:
name: Build check for 'Getting Started' example project
runs-on: ubuntu-latest

defaults:
run:
working-directory: docs/getting-started

steps:
- uses: actions/checkout@v4

- name: Set up JDK ${{ env.JAVA_VERSION }} (${{ env.JAVA_VENDOR }})
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_VENDOR }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build Getting Started project
run: ./gradlew assemble

build-check-example-project-for-kotlin:
name: Build check for 'Getting Started' example project for Kotlin
runs-on: ubuntu-latest

defaults:
run:
working-directory: docs/getting-started-kotlin

steps:
- uses: actions/checkout@v4

- name: Set up JDK ${{ env.JAVA_VERSION }} (${{ env.JAVA_VENDOR }})
uses: actions/setup-java@v4
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_VENDOR }}

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build Getting Started project
run: ./gradlew assemble

integration-test-for-cassandra-3-0:
name: Cassandra 3.0 integration test
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6f2c20f

Please sign in to comment.