Skip to content

Commit 0a84a3f

Browse files
committed
ci: fix pattern
1 parent 764f252 commit 0a84a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
text = Path("./warnings.txt").read_text().strip()
113113
expected_warning_patterns = [r"kitchen\-sink", r"urllib/parse\.py", r"Glyph 10024 .*? missing from current font"]
114114
print("\n=== Sphinx Warnings ===\n\n" + text) # Print just for reference so we can look at the logs
115-
unexpected = [l for l in text.splitlines() if not any(re.search(p, ii) for p in expected_warning_patterns)]
115+
unexpected = [l for l in text.splitlines() if not any(re.search(p, l) for p in expected_warning_patterns)]
116116
assert len(unexpected) == 0, unexpected
117117
118118
- name: Audit with Lighthouse

0 commit comments

Comments
 (0)