File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 43
43
run : |
44
44
nox -s unit${{ matrix.option }}-${{ matrix.python }}
45
45
- name : Upload coverage results
46
- uses : actions/upload-artifact@v3
46
+ uses : actions/upload-artifact@v4
47
47
with :
48
- name : coverage-artifacts
48
+ name : coverage-artifact-${{ matrix.option }}-${{ matrix.python }}
49
49
path : .coverage${{ matrix.option }}-${{ matrix.python }}
50
50
51
51
report-coverage :
@@ -65,11 +65,11 @@ jobs:
65
65
python -m pip install --upgrade setuptools pip wheel
66
66
python -m pip install coverage
67
67
- name : Download coverage results
68
- uses : actions/download-artifact@v3
68
+ uses : actions/download-artifact@v4
69
69
with :
70
- name : coverage-artifacts
71
70
path : .coverage-results/
72
71
- name : Report coverage results
73
72
run : |
74
- coverage combine .coverage-results/.coverage*
73
+ find .coverage-results -type f -name '*.zip' -exec unzip {} \;
74
+ coverage combine .coverage-results/**/.coverage*
75
75
coverage report --show-missing --fail-under=100
Original file line number Diff line number Diff line change @@ -175,12 +175,12 @@ def pytype(session):
175
175
def mypy (session ):
176
176
"""Run type-checking."""
177
177
session .install (".[grpc]" , "mypy" )
178
- # Exclude types-protobuf==4.24.0.20240106
179
- # See https://github.com/python/typeshed/issues/11254
180
178
session .install (
181
179
"types-setuptools" ,
182
180
"types-requests" ,
183
- "types-protobuf!=4.24.0.20240106" ,
181
+ # TODO(https://github.com/googleapis/python-api-core/issues/642):
182
+ # Use the latest version of types-protobuf.
183
+ "types-protobuf<5" ,
184
184
"types-mock" ,
185
185
"types-dataclasses" ,
186
186
)
You can’t perform that action at this time.
0 commit comments