Skip to content

Commit ebc6c0d

Browse files
committed
missed a spot for poe lint in CI
1 parent 1155d6f commit ebc6c0d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ jobs:
149149
- run: uv tool install poethepoet
150150
- run: uv lock --upgrade
151151
- run: uv sync --all-extras
152-
- run: poe lint
153152
- run: poe build-develop
153+
- run: poe lint
154154
- run: mkdir junit-xml
155155
- run: poe test -s --junit-xml=junit-xml/latest-deps.xml
156156
timeout-minutes: 10

tests/test_plugins.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import dataclasses
22
import uuid
33
import warnings
4+
from collections import Counter
45
from contextlib import AbstractAsyncContextManager, asynccontextmanager
56
from typing import AsyncIterator, Awaitable, Callable, Optional, cast
67

@@ -204,7 +205,8 @@ def new_worker_wrapper(runtime_ref, client_ref, config):
204205
activities=[never_run_activity],
205206
plugins=[plugin1, plugin2],
206207
)
207-
assert captured_plugins == [plugin1.name(), plugin2.name()]
208+
# Use counter to compare unordered lists
209+
assert Counter(captured_plugins) == Counter([plugin1.name(), plugin2.name()])
208210

209211

210212
async def test_worker_duplicated_plugin(client: Client) -> None:

0 commit comments

Comments
 (0)