Skip to content

ci: install pytest-asyncio for the chronicle-client tests - #33

Merged
thestumonkey merged 1 commit into
devfrom
fix/ci-client-pytest-asyncio
Nov 7, 2026
Merged

thestumonkey merged 1 commit into
devfrom
fix/ci-client-pytest-asyncio

Conversation

@thestumonkey

Copy link
Copy Markdown
Member

Summary

The chronicle-client step in python-tests.yml installed only pytest. test_audio_v2.py has async tests (pytestmark = pytest.mark.asyncio), so two tests failed with "async def functions are not natively supported". This breaks the Python tests check on main and on every open PR.

Adds --with pytest-asyncio to that step.

Testing

Ran the exact CI command locally:

  • before: 2 failed, 5 passed
  • after: 7 passed

🤖 Generated with Claude Code

test_audio_v2.py uses async tests, but the step only installed pytest, so
two tests failed with "async def functions are not natively supported".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thestumonkey
thestumonkey merged commit 577269a into dev Nov 7, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant