...

Text file src/cloud.google.com/go/.github/workflows/conformance.yaml

Documentation: cloud.google.com/go/.github/workflows

     1# Copyright 2023 Google LLC
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#      http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14# Github action job to test core java library features on
    15# downstream client libraries before they are released.
    16on:
    17  push:
    18    paths:
    19      - 'bigtable/**'
    20    branches:
    21    - main
    22  pull_request:
    23    paths:
    24      - 'bigtable/**'
    25name: bigtable_conformance
    26
    27permissions:
    28  contents: read
    29
    30jobs:
    31  bigtable_conformance:
    32    runs-on: ubuntu-latest
    33    strategy:
    34      matrix:
    35        # Bigtable test proxy can be run on any of these Go versions
    36        go: [ '1.19', '1.22']
    37        folders: ['bigtable']
    38    steps:
    39    - uses: actions/checkout@v4
    40      with:
    41        path: google-cloud-go
    42    - uses: actions/checkout@v4
    43      with:
    44        repository: googleapis/cloud-bigtable-clients-test
    45        ref: main
    46        path: cloud-bigtable-clients-test
    47    - uses: actions/setup-go@v5
    48      with:
    49          go-version: ${{ matrix.go }}
    50    - run: go version
    51    - run: go install github.com/jstemmer/go-junit-report/v2@latest
    52    - run: chmod +x ./google-cloud-go/${{ matrix.folders }}/conformance_test.sh
    53    - run: ./google-cloud-go/${{ matrix.folders }}/conformance_test.sh

View as plain text