Comment out oci-genai since not able to get keys
This commit is contained in:
@@ -160,35 +160,37 @@ jobs:
|
||||
- name: Run Mistral AI model tests
|
||||
run: ./mvnw -pl models/spring-ai-mistral-ai -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=2 verify
|
||||
|
||||
test-oci-genai:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
OCI_COMPARTMENT_ID_KEY: ${{ secrets.OCI_COMPARTMENT_ID_KEY }}
|
||||
steps:
|
||||
- name: Check environment
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
const env = ${{ toJson(env) }}
|
||||
const emptyEnvEntries = Object.entries(env).filter(e => e[1].length === 0)
|
||||
emptyEnvEntries.length > 0 &&
|
||||
core.setFailed('Missing value for environment variable(s): ' + emptyEnvEntries.map(e => e[0]).join(', '));
|
||||
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: spring-projects/spring-ai
|
||||
ref: refs/heads/main
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
- name: Install
|
||||
run: ./mvnw install -DskipTests
|
||||
- name: Run OCI GenAI model tests
|
||||
run: ./mvnw -pl models/spring-ai-oci-genai -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=2 verify
|
||||
# Removed since not able to get keys from ORACLE
|
||||
# When keys are available uncomment this code and verify no other structural changes in the other jobs
|
||||
# test-oci-genai:
|
||||
# runs-on: ubuntu-latest
|
||||
# env:
|
||||
# OCI_COMPARTMENT_ID_KEY: ${{ secrets.OCI_COMPARTMENT_ID_KEY }}
|
||||
# steps:
|
||||
# - name: Check environment
|
||||
# uses: actions/github-script@v7
|
||||
# with:
|
||||
# script: |
|
||||
# const env = ${{ toJson(env) }}
|
||||
# const emptyEnvEntries = Object.entries(env).filter(e => e[1].length === 0)
|
||||
# emptyEnvEntries.length > 0 &&
|
||||
# core.setFailed('Missing value for environment variable(s): ' + emptyEnvEntries.map(e => e[0]).join(', '));
|
||||
#
|
||||
# - name: Check out repository code
|
||||
# uses: actions/checkout@v4
|
||||
# with:
|
||||
# repository: spring-projects/spring-ai
|
||||
# ref: refs/heads/main
|
||||
# - name: Set up JDK 17
|
||||
# uses: actions/setup-java@v4
|
||||
# with:
|
||||
# java-version: '17'
|
||||
# distribution: 'temurin'
|
||||
# cache: maven
|
||||
# - name: Install
|
||||
# run: ./mvnw install -DskipTests
|
||||
# - name: Run OCI GenAI model tests
|
||||
# run: ./mvnw -pl models/spring-ai-oci-genai -Pintegration-tests -Dfailsafe.rerunFailingTestsCount=2 verify
|
||||
|
||||
test-openai:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user