Skip to content

Commit a6ff347

Browse files
committed
run bazelisk from root
1 parent 42c2277 commit a6ff347

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/sdk-platform-java-ci.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
- name: Integration Tests
5757
run: |
5858
bazelisk --batch test //test/integration/...
59+
working-directory: .
5960
- name: Gradle Build Generated Storage Client Library
6061
run: |
6162
echo "Building Storage lib from generated source..."
@@ -65,6 +66,7 @@ jobs:
6566
pushd /tmp/java-storage/google-cloud-storage-v2-java
6667
./gradlew clean build publishToMavenLocal sourcesJar allJars
6768
popd
69+
working-directory: .
6870

6971
- name: Gradle Build Generated Compute Client Library
7072
run: |
@@ -75,6 +77,7 @@ jobs:
7577
pushd /tmp/java-compute/google-cloud-compute-small-v1-java
7678
./gradlew clean build publishToMavenLocal sourcesJar allJars
7779
popd
80+
working-directory: .
7881
build-java-21:
7982
needs: filter
8083
if: ${{ needs.filter.outputs.library == 'true' }}
@@ -110,6 +113,7 @@ jobs:
110113
- name: Integration Tests
111114
run: |
112115
bazelisk --batch test //test/integration/...
116+
working-directory: .
113117
build-java-25:
114118
needs: filter
115119
if: ${{ needs.filter.outputs.library == 'true' }}
@@ -146,6 +150,7 @@ jobs:
146150
# note need to set shouldInstallTestSecurityManager=false due to https://github.com/bazelbuild/bazel/issues/24354
147151
run: |
148152
bazelisk --batch test //test/integration/... --jvmopt=-Dcom.google.testing.junit.runner.shouldInstallTestSecurityManager=false
153+
working-directory: .
149154
build-java8-except-gapic-generator-java:
150155
needs: filter
151156
if: ${{ needs.filter.outputs.library == 'true' }}
@@ -223,6 +228,7 @@ jobs:
223228
- name: Integration Tests
224229
run: |
225230
bazelisk --batch test //test/integration/...
231+
working-directory: .
226232
- name: Gradle Build Generated Storage Client Library
227233
run: |
228234
echo "Building Storage lib from generated source..."
@@ -232,6 +238,7 @@ jobs:
232238
pushd /tmp/java-storage/google-cloud-storage-v2-java
233239
./gradlew clean build publishToMavenLocal sourcesJar allJars
234240
popd
241+
working-directory: .
235242

236243
- name: Gradle Build Generated Compute Client Library
237244
run: |
@@ -242,6 +249,7 @@ jobs:
242249
pushd /tmp/java-compute/google-cloud-compute-small-v1-java
243250
./gradlew clean build publishToMavenLocal sourcesJar allJars
244251
popd
252+
working-directory: .
245253

246254
build-java8-showcase:
247255
needs: filter
@@ -332,6 +340,7 @@ jobs:
332340
- name: Install Maven modules
333341
run: |
334342
mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip -Dfmt.skip
343+
335344
- name: Showcase golden tests
336345
working-directory: sdk-platform-java/java-showcase
337346
run: |

0 commit comments

Comments
 (0)