chore: add unified content wrapping for multimodal gemini embeddings (gemini-embedding-2) for Gemini API #3679
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: Java Unit Tests | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| unit-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java: [8, 11, 17, 21] | |
| # Only run unit tests. | |
| testgroup: ["**/*Test"] | |
| fail-fast: false | |
| name: unit-test (${{matrix.java}}) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{matrix.java}} | |
| cache: 'maven' | |
| - name: Java Unit Tests | |
| run: mvn clean test -Dtest=${{matrix.testgroup}} -Djacoco.skip=true |