File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -165,3 +165,28 @@ jobs:
165165 if [ "${{ matrix.python }}" == "${{ needs.python_config.outputs.latest_stable_python }}" ]; then
166166 nox -s snippetgen
167167 fi
168+ integration :
169+ needs : python_config
170+ # Only runs if the Gatekeeper passed
171+ if : ${{ needs.python_config.result == 'success' }}
172+ runs-on : ubuntu-latest
173+ container : gcr.io/gapic-images/googleapis
174+ steps :
175+ - uses : actions/checkout@v5
176+
177+ - name : Cache Bazel files
178+ id : cache-bazel
179+ uses : actions/cache@v4
180+ with :
181+ path : ~/.cache/bazel
182+ # Ensure CACHE_VERSION is defined in the mono-repo secrets!
183+ key : ${{ runner.os }}-bazel-20210105-${{ secrets.CACHE_VERSION }}
184+ restore-keys : |
185+ ${{ runner.os }}-bazel-20210105-
186+
187+ - name : Run Bazel Integration Tests
188+ run : |
189+ # We need to move into the package directory if the
190+ # WORKSPACE file is located there.
191+ cd packages/gapic-generator
192+ bazelisk test //tests/integration/... --test_output=errors
You can’t perform that action at this time.
0 commit comments