Skip to content

Commit feb86a5

Browse files
authored
Merge branch 'main' into feat/mcp-crd
2 parents 0479397 + 39ced4b commit feb86a5

3 files changed

Lines changed: 33 additions & 6 deletions

File tree

.github/workflows/build.yaml

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,44 @@ jobs:
5050
5151
build:
5252
needs: lint
53-
runs-on: ubuntu-latest
53+
runs-on: ${{ matrix.os }}
5454
strategy:
5555
fail-fast: false
5656
matrix:
57-
python_ver: ["3.10", "3.11", "3.12", "3.13", "3.14"]
57+
include:
58+
- os: ubuntu-latest
59+
python_version: "3.10"
60+
tox_env: py310
61+
- os: ubuntu-latest
62+
python_version: "3.11"
63+
tox_env: py311
64+
- os: ubuntu-latest
65+
python_version: "3.12"
66+
tox_env: py312
67+
- os: ubuntu-latest
68+
python_version: "3.13"
69+
tox_env: py313
70+
- os: ubuntu-latest
71+
python_version: "3.14"
72+
tox_env: py314
73+
- os: windows-latest
74+
python_version: "3.10"
75+
tox_env: py310
76+
- os: windows-latest
77+
python_version: "3.13"
78+
tox_env: py313
79+
- os: macos-latest
80+
python_version: "3.10"
81+
tox_env: py310
82+
- os: macos-latest
83+
python_version: "3.13"
84+
tox_env: py313
5885
steps:
5986
- uses: actions/checkout@v6
60-
- name: Set up Python ${{ matrix.python_ver }}
87+
- name: Set up Python ${{ matrix.python_version }}
6188
uses: actions/setup-python@v6
6289
with:
63-
python-version: ${{ matrix.python_ver }}
90+
python-version: ${{ matrix.python_version }}
6491
- name: Install uv
6592
uses: astral-sh/setup-uv@v7
6693
- name: Install dependencies

tests/clients/test_dapr_grpc_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ def test_wait_timeout(self):
815815
dapr = DaprGrpcClient(f'localhost:{port}')
816816
with self.assertRaises(Exception) as context:
817817
dapr.wait(0.1)
818-
self.assertTrue('Connection refused' in str(context.exception))
818+
self.assertIsInstance(context.exception, (ConnectionRefusedError, TimeoutError))
819819

820820
def test_lock_acquire_success(self):
821821
dapr = DaprGrpcClient(f'{self.scheme}localhost:{self.grpc_port}')

tests/clients/test_dapr_grpc_client_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ async def test_wait_timeout(self):
799799
dapr = DaprGrpcClientAsync(f'{self.scheme}localhost:{port}')
800800
with self.assertRaises(Exception) as context:
801801
await dapr.wait(0.1)
802-
self.assertTrue('Connection refused' in str(context.exception))
802+
self.assertIsInstance(context.exception, (ConnectionRefusedError, TimeoutError))
803803

804804
async def test_lock_acquire_success(self):
805805
dapr = DaprGrpcClientAsync(f'{self.scheme}localhost:{self.grpc_port}')

0 commit comments

Comments
 (0)