Skip to content

Commit a62ea6e

Browse files
authored
Merge branch 'main' into add-support-for-protobuf-5-x
2 parents ac9cad8 + 07dfc93 commit a62ea6e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/unittest.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ jobs:
5656
run: |
5757
nox -s unit${{ matrix.option }}-${{ matrix.python }}
5858
- name: Upload coverage results
59-
uses: actions/upload-artifact@v3
59+
uses: actions/upload-artifact@v4
6060
with:
61-
name: coverage-artifacts
61+
name: coverage-artifact-${{ matrix.option }}-${{ matrix.python }}
6262
path: .coverage${{ matrix.option }}-${{ matrix.python }}
6363

6464
report-coverage:
@@ -78,11 +78,11 @@ jobs:
7878
python -m pip install --upgrade setuptools pip wheel
7979
python -m pip install coverage
8080
- name: Download coverage results
81-
uses: actions/download-artifact@v3
81+
uses: actions/download-artifact@v4
8282
with:
83-
name: coverage-artifacts
8483
path: .coverage-results/
8584
- name: Report coverage results
8685
run: |
87-
coverage combine .coverage-results/.coverage*
86+
find .coverage-results -type f -name '*.zip' -exec unzip {} \;
87+
coverage combine .coverage-results/**/.coverage*
8888
coverage report --show-missing --fail-under=100

noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ def mypy(session):
253253
session.install(
254254
"types-setuptools",
255255
"types-requests",
256-
"types-protobuf",
256+
# TODO(https://github.com/googleapis/python-api-core/issues/642):
257+
# Use the latest version of types-protobuf.
258+
"types-protobuf<5",
257259
"types-mock",
258260
"types-dataclasses",
259261
)

0 commit comments

Comments
 (0)