feat: init v1 client format #19
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test judgeval-java | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "judgeval-java/**" | |
| - "pom.xml" | |
| - ".github/workflows/test-judgeval-java.yml" | |
| jobs: | |
| test-install: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: "21" | |
| distribution: "temurin" | |
| - name: Cache Maven packages | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.m2 | |
| key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: ${{ runner.os }}-m2 | |
| - name: Run Tests | |
| run: | | |
| cd judgeval-java && mvn -B test | |
| - name: Test Install | |
| run: | | |
| cd judgeval-java && mvn -B -Dgpg.skip=true clean install | |
| - name: Verify Build Artifacts | |
| run: | | |
| echo "Checking build artifacts..." | |
| ls -la judgeval-java/target/ || true | |
| echo "JAR files:" | |
| find judgeval-java/target -name "*.jar" -type f |