-
Notifications
You must be signed in to change notification settings - Fork 1.7k
74 lines (71 loc) · 2.34 KB
/
bigtable-conformance.yaml
File metadata and controls
74 lines (71 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
on:
pull_request:
paths:
- 'packages/google-cloud-bigtable/**'
- '.github/workflows/bigtable-conformance.yaml'
push:
branches:
- main
paths:
- 'packages/google-cloud-bigtable/**'
- '.github/workflows/bigtable-conformance.yaml'
defaults:
run:
working-directory: packages/google-cloud-bigtable
name: Conformance
jobs:
check_changes:
runs-on: ubuntu-latest
outputs:
run_bigtable: ${{ steps.filter.outputs.bigtable }}
steps:
- uses: actions/checkout@v4
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
bigtable:
- 'packages/google-cloud-bigtable/**'
- '.github/workflows/bigtable-conformance.yaml'
system-tests:
needs: check_changes
if: ${{ needs.check_changes.outputs.run_bigtable == 'true' }}
runs-on: ubuntu-latest
strategy:
matrix:
test-version: [ "v0.0.4" ]
py-version: [ 3.13 ]
client-type: [ "async", "sync"]
# None of the clients currently support reverse scans, execute query plan refresh, retry info, or routing cookie
include:
- client-type: "async"
test_args: "-skip \"PlanRefresh|_Reverse|_WithRetryInfo|_WithRoutingCookie\""
- client-type: "sync"
test_args: "-skip \"PlanRefresh|_Reverse|_WithRetryInfo|_WithRoutingCookie|_Generic_MultiStream\""
fail-fast: false
name: "${{ matrix.client-type }} client / python ${{ matrix.py-version }} / test tag ${{ matrix.test-version }}"
steps:
- uses: actions/checkout@v4
name: "Checkout google-cloud-python"
- uses: actions/checkout@v4
name: "Checkout conformance tests"
with:
repository: googleapis/cloud-bigtable-clients-test
ref: ${{ matrix.test-version }}
path: packages/google-cloud-bigtable/cloud-bigtable-clients-test
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py-version }}
- uses: actions/setup-go@v5
with:
go-version: '>=1.20.2'
- run: pip install -e .
name: "Install google-cloud-bigtable from HEAD"
- run: go version
- run: scripts/conformance.sh
name: "Run tests"
env:
CLIENT_TYPE: ${{ matrix.client-type }}
PYTHONUNBUFFERED: 1
TEST_ARGS: ${{ matrix.test_args }}
PROXY_PORT: 9999