Skip to content

Commit f32cc92

Browse files
committed
fix(ci): fix Windows glob and update test assertion
- Use bash shell for wheel installation to fix Windows glob issue - Update test_parse_with_limits_exceeded to match actual error message
1 parent e3b7c06 commit f32cc92

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ jobs:
190190

191191
- name: Install wheel
192192
working-directory: crates/feedparser-rs-py
193+
shell: bash
193194
run: uv pip install --system dist/*.whl
194195

195196
- name: Run Python tests
@@ -323,6 +324,7 @@ jobs:
323324

324325
- name: Install wheel
325326
working-directory: crates/feedparser-rs-py
327+
shell: bash
326328
run: uv pip install --system dist/*.whl
327329

328330
- name: Run tests with coverage

crates/feedparser-rs-py/tests/test_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def test_parse_with_limits_exceeded():
149149
max_feed_size_bytes=10, # Too small
150150
)
151151

152-
with pytest.raises(ValueError, match="Resource limit exceeded"):
152+
with pytest.raises(ValueError, match="exceeds maximum"):
153153
feedparser_rs.parse_with_limits(xml, limits)
154154

155155

0 commit comments

Comments
 (0)