Run the readrows test #224
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright 2023 Google LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| # Github action job to test core java library features on | |
| # downstream client libraries before they are released. | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'handwritten/bigtable/**' | |
| pull_request: | |
| paths: | |
| - 'handwritten/bigtable/**' | |
| name: bigtable-conformance | |
| jobs: | |
| conformance: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: handwritten/bigtable | |
| strategy: | |
| matrix: | |
| node: [ 20, 22 ] | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| repository: googleapis/cloud-bigtable-clients-test | |
| ref: main | |
| path: handwritten/bigtable/cloud-bigtable-clients-test | |
| persist-credentials: false | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 | |
| with: | |
| go-version: '>=1.20.2' | |
| - run: chmod +x .kokoro/conformance.sh | |
| - uses: pnpm/action-setup@b906affcce14559ad1aafd4ab0e942779e9f58b1 # v4 | |
| - name: Install Workspace Dependencies (Frozen Lockfile) | |
| run: | | |
| if ! pnpm install --frozen-lockfile --ignore-scripts; then | |
| echo "::error title=PNPM Lockfile Out of Date::The pnpm-lock.yaml file is out of sync with workspace package.json dependencies." | |
| echo "" | |
| echo "====================================================================================================" | |
| echo "❌ PNPM Lockfile Out of Date (ERR_PNPM_OUTDATED_LOCKFILE)" | |
| echo "" | |
| echo "One or more package.json files have changed or were merged without updating pnpm-lock.yaml." | |
| echo "" | |
| echo "To resolve this failure, please update the lockfile locally and commit the result:" | |
| echo " pnpm install --no-frozen-lockfile" | |
| echo " git add pnpm-lock.yaml" | |
| echo " git commit -m \"chore: update pnpm-lock.yaml\"" | |
| echo " git push" | |
| echo "====================================================================================================" | |
| echo "" | |
| exit 1 | |
| fi | |
| - run: pnpm --filter ...{handwritten/bigtable} run --if-present compile | |
| - run: go version | |
| - run: .kokoro/conformance.sh |