Skip to content

Commit 4128d9a

Browse files
authored
Remove unnecessary steps in CI Testing for vertex (#6743)
Additionally, make the update_responses.sh more verbose to ease debugging
1 parent e12597e commit 4128d9a

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

.github/workflows/ci_tests.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,9 @@ jobs:
5656
distribution: temurin
5757
cache: gradle
5858

59-
- name: Pull genai-common
60-
if: matrix.module == ':firebase-vertexai'
61-
run: |
62-
git clone https://github.com/google-gemini/generative-ai-android.git
63-
cd generative-ai-android
64-
./gradlew :common:updateVersion common:publishToMavenLocal
65-
cd ..
66-
6759
- name: Clone mock responses
6860
if: matrix.module == ':firebase-vertexai'
69-
run: |
70-
firebase-vertexai/update_responses.sh
61+
run: firebase-vertexai/update_responses.sh
7162

7263
- name: Add google-services.json
7364
env:

firebase-vertexai/update_responses.sh

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ RESPONSES_VERSION='v6.*' # The major version of mock responses to use
2121
REPO_NAME="vertexai-sdk-test-data"
2222
REPO_LINK="https://github.com/FirebaseExtended/$REPO_NAME.git"
2323

24+
set -x
25+
2426
cd "$(dirname "$0")/src/test/resources" || exit
2527
rm -rf "$REPO_NAME"
2628
git clone "$REPO_LINK" --quiet || exit

0 commit comments

Comments
 (0)