Skip to content

Commit

Permalink
Remove unnecessary steps in CI Testing for vertex (#6743)
Browse files Browse the repository at this point in the history
Additionally, make the update_responses.sh more verbose to ease debugging
  • Loading branch information
rlazo authored Mar 7, 2025
1 parent e12597e commit 4128d9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,9 @@ jobs:
distribution: temurin
cache: gradle

- name: Pull genai-common
if: matrix.module == ':firebase-vertexai'
run: |
git clone https://github.com/google-gemini/generative-ai-android.git
cd generative-ai-android
./gradlew :common:updateVersion common:publishToMavenLocal
cd ..
- name: Clone mock responses
if: matrix.module == ':firebase-vertexai'
run: |
firebase-vertexai/update_responses.sh
run: firebase-vertexai/update_responses.sh

- name: Add google-services.json
env:
Expand Down
2 changes: 2 additions & 0 deletions firebase-vertexai/update_responses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ RESPONSES_VERSION='v6.*' # The major version of mock responses to use
REPO_NAME="vertexai-sdk-test-data"
REPO_LINK="https://github.com/FirebaseExtended/$REPO_NAME.git"

set -x

cd "$(dirname "$0")/src/test/resources" || exit
rm -rf "$REPO_NAME"
git clone "$REPO_LINK" --quiet || exit
Expand Down

0 comments on commit 4128d9a

Please sign in to comment.