@@ -25,15 +25,14 @@ jobs:
25
25
needs : dependency-matrix-setup
26
26
runs-on : ubuntu-latest
27
27
strategy :
28
- max-parallel : 5
28
+ max-parallel : 10
29
29
fail-fast : false
30
30
matrix :
31
- python-version :
31
+ python_version :
32
32
- 3.8
33
- # - 3.9
34
- # - "3.10"
35
- # - 3.11
36
- grpcio-version :
33
+ - 3.9
34
+ - " 3.10"
35
+ grpcio_version :
37
36
- 1.44.0
38
37
# - 1.46.5
39
38
# - 1.47.5
@@ -49,94 +48,113 @@ jobs:
49
48
# - 1.58.0
50
49
# - 1.59.3
51
50
- 1.60.0
52
- lz4-version :
51
+ lz4_version :
53
52
- 3.1.3
54
53
# - 3.1.10
55
54
- 4.0.0
56
55
# - 4.0.1
57
56
# - 4.1.0
58
57
- 4.3.3
59
- protobuf-version :
58
+ protobuf_version :
60
59
- 3.20.3
61
- googleapis-common-protos-version :
60
+ googleapis_common_protos_version :
62
61
- 1.53.0
63
62
- 1.62.0
64
- grpc-gateway-protoc-gen-openapiv2-version :
63
+ grpc_gateway_protoc_gen_openapiv2_version :
65
64
- 0.1.0
66
-
67
65
steps :
68
66
- uses : actions/checkout@v4
69
-
70
- - name : Set up Python ${{ matrix.python-version }}
71
- uses : actions/setup-python@v5
72
- with :
73
- python-version : ${{ matrix.python-version }}
74
-
75
- - name : Setup Poetry
76
- uses : ./.github/actions/setup-poetry
67
+ - uses : ./.github/actions/test-dependency-grpc
77
68
with :
78
- include_grpc : true
79
- include_types : false
80
- - name : Install grpcio ${{ matrix.grpcio-version }}
81
- run : poetry add grpcio==${{ matrix.grpcio-version }}
82
- - name : Install lz4 ${{ matrix.lz4-version }}
83
- run : poetry add lz4==${{ matrix.lz4-version }}
84
- - name : Install protobuf ${{ matrix.protobuf-version }}
85
- run : poetry add protobuf==${{ matrix.protobuf-version }}
86
- - name : Install googleapis-common-protos ${{ matrix.googleapis-common-protos-version }}
87
- run : poetry add googleapis-common-protos==${{ matrix.googleapis-common-protos-version }}
69
+ python_version : ' ${{ matrix.python_version }}'
70
+ index_name : ' ${{ needs.dependency-matrix-setup.outputs.index_name }}'
71
+ PINECONE_API_KEY : ' ${{ secrets.PINECONE_API_KEY }}'
72
+ grpcio_version : ' ${{ matrix.grpcio_version }}'
73
+ lz4_version : ' ${{ matrix.lz4_version }}'
74
+ protobuf_version : ' ${{ matrix.protobuf_version }}'
75
+ googleapis_common_protos_version : ' ${{ matrix.googleapis_common_protos_version }}'
88
76
89
- - uses : nick-fields/retry@v3
77
+ dependency-matrix-grpc-312 :
78
+ name : Deps (GRPC)
79
+ needs : dependency-matrix-setup
80
+ runs-on : ubuntu-latest
81
+ strategy :
82
+ max-parallel : 10
83
+ fail-fast : false
84
+ matrix :
85
+ python_version :
86
+ - 3.11
87
+ - 3.12
88
+ grpcio_version :
89
+ - 1.59.3
90
+ - 1.60.0
91
+ lz4_version :
92
+ - 3.1.3
93
+ - 4.3.3
94
+ protobuf_version :
95
+ - 3.20.3
96
+ googleapis_common_protos_version :
97
+ - 1.53.0
98
+ - 1.62.0
99
+ grpc_gateway_protoc_gen_openapiv2_version :
100
+ - 0.1.0
101
+ steps :
102
+ - uses : actions/checkout@v4
103
+ - uses : ./.github/actions/test-dependency-grpc
90
104
with :
91
- timeout_minutes : 5
92
- max_attempts : 3
93
- retry_on : error
94
- command : poetry run pytest tests/dependency/grpc -s -v
95
- env :
96
- PINECONE_API_KEY : ${{ secrets.PINECONE_API_KEY }}
97
- INDEX_NAME : ${{ needs.dependency-matrix-setup.outputs.index_name }}
98
-
99
-
100
-
105
+ python_version : ' ${{ matrix.python_version }}'
106
+ index_name : ' ${{ needs.dependency-matrix-setup.outputs.index_name }}'
107
+ PINECONE_API_KEY : ' ${{ secrets.PINECONE_API_KEY }}'
108
+ grpcio_version : ' ${{ matrix.grpcio_version }}'
109
+ lz4_version : ' ${{ matrix.lz4_version }}'
110
+ protobuf_version : ' ${{ matrix.protobuf_version }}'
111
+ googleapis_common_protos_version : ' ${{ matrix.googleapis_common_protos_version }}'
101
112
102
113
dependency-matrix-rest :
103
114
name : Deps (REST)
104
115
runs-on : ubuntu-latest
105
116
needs : dependency-matrix-setup
106
117
strategy :
107
- max-parallel : 5
118
+ max-parallel : 10
108
119
fail-fast : false
109
120
matrix :
110
- python-version :
121
+ python_version :
111
122
- 3.8
112
- - 3.9
113
- - ' 3.10'
114
123
- 3.11
115
- urllib3-version :
124
+ urllib3_version :
116
125
- 1.26.0
117
126
- 1.26.18
118
127
- 2.0.2
119
- - 2.0.5
120
- - 2.1.0
128
+ - 2.2.1
121
129
steps :
122
130
- uses : actions/checkout@v4
123
- - name : ' Set up Python ${{ matrix.python-version }}'
124
- uses : actions/setup-python@v5
131
+ - uses : ./.github/actions/test-dependency-rest
125
132
with :
126
- python-version : ' ${{ matrix.python-version }}'
127
- - name : Setup Poetry
128
- uses : ./.github/actions/setup-poetry
129
- with :
130
- include_grpc : false
131
- include_types : false
132
- - name : ' Install urllib3 ${{ matrix.urllib3-version }}'
133
- run : ' poetry add urllib3==${{ matrix.urllib3-version }}'
134
- - uses : nick-fields/retry@v3
133
+ python_version : ' ${{ matrix.python_version }}'
134
+ index_name : ' ${{ needs.dependency-matrix-setup.outputs.index_name }}'
135
+ PINECONE_API_KEY : ' ${{ secrets.PINECONE_API_KEY }}'
136
+ urllib3_version : ' ${{ matrix.urllib3_version }}'
137
+
138
+ dependency-matrix-rest-312 :
139
+ name : Deps (REST)
140
+ runs-on : ubuntu-latest
141
+ needs : dependency-matrix-setup
142
+ strategy :
143
+ max-parallel : 10
144
+ fail-fast : false
145
+ matrix :
146
+ python_version :
147
+ - 3.12
148
+ urllib3_version :
149
+ - 1.26.5
150
+ - 1.26.18
151
+ - 2.0.2
152
+ - 2.2.1
153
+ steps :
154
+ - uses : actions/checkout@v4
155
+ - uses : ./.github/actions/test-dependency-rest
135
156
with :
136
- timeout_minutes : 5
137
- max_attempts : 3
138
- retry_on : error
139
- command : poetry run pytest tests/dependency/rest -s -v
140
- env :
157
+ python_version : ' ${{ matrix.python_version }}'
158
+ index_name : ' ${{ needs.dependency-matrix-setup.outputs.index_name }}'
141
159
PINECONE_API_KEY : ' ${{ secrets.PINECONE_API_KEY }}'
142
- INDEX_NAME : ' ${{ needs.dependency- matrix-setup.outputs.index_name }}'
160
+ urllib3_version : ' ${{ matrix.urllib3_version }}'
0 commit comments