Commit 8f2cd1b
committed
ci: fix Windows collection and the console job's missing deps
pytest's --doctest-modules imported scripts/render_demos.py during
collection, which fails on Windows at the module-scope fcntl/pty/
termios imports. Exclude scripts/ and tools/ from collection: neither
contains doctests, and tests/test_readme_demos.py imports the renderer
explicitly behind its own Windows skip guard.
The docs console job installs only the docs-tests extra, but the
shared tests/conftest.py imports freezegun and the workflow passes
--no-cov: add freezegun and pytest-cov to the extra.1 parent 81eed97 commit 8f2cd1b
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
142 | 146 | | |
| 147 | + | |
143 | 148 | | |
144 | 149 | | |
145 | 150 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| 34 | + | |
29 | 35 | | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
| |||
0 commit comments