Skip to content

Add Gradle JVM tests to CI pipeline #4

Add Gradle JVM tests to CI pipeline

Add Gradle JVM tests to CI pipeline #4

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
jvm-tests:
name: JVM Tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Create local.properties
run: |
cat > local.properties << 'EOF'
anthropic_api_key=placeholder
google_api_key=placeholder
openai_api_key=placeholder
EOF
- name: Run JVM tests
run: ./gradlew jvmTest