Commit d41e7fe
committed
MAINT, TST: lxml optional skip
* discussed a bit with Shane--this allows the test suite
to pass with a few skipped tests if a user doesn't have
`lxml` installed--I think the 10 extra skips aren't so bad
that all value is lost with the pared down testing in this
case
* if you run `python -m pytest --pyargs darshan -n 10 -rsx`
without and with `lxml` present on this branch you'll get
these results respectively:
- `463 passed, 10 skipped, 2 xfailed in 109.11s (0:01:49)`
- `473 passed, 2 xfailed in 109.02s (0:01:49)`
The verbose output will show a bit more detail:
```
SKIPPED [3] ../home/tyler/python_310_darshan_venv/lib/python3.10/site-packages/darshan/tests/test_summary.py:347: Test requires lxml
SKIPPED [7] ../home/tyler/python_310_darshan_venv/lib/python3.10/site-packages/darshan/tests/test_summary.py:459: Test requires lxml
XFAIL tests/test_report.py::test_jobid_type_all_logs_repo_files[/home/tyler/python_310_darshan_venv/lib/python3.10/site-packages/darshan_logs/e3sm_io_heatmaps_and_dxt/e3sm_io_heatmap_and_dxt.darshan]
reason: large memory requirements
XFAIL tests/test_summary.py::test_main_all_logs_repo_files[/home/tyler/python_310_darshan_venv/lib/python3.10/site-packages/darshan_logs/e3sm_io_heatmaps_and_dxt/e3sm_io_heatmap_and_dxt.darshan]
reason: large memory requirements
```
* one of the CI matrix entries (Python `3.8` will now uninstall lxml
prior to testing--making it a sort of "minimal deps" testing
scenario since Python `3.8` testing currently also lacks the
logs repo (on purpose))1 parent fb6bb27 commit d41e7fe
File tree
3 files changed
+21
-0
lines changed- .github/workflows
- darshan-util/pydarshan
- darshan/tests
3 files changed
+21
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
337 | 343 | | |
338 | 344 | | |
339 | 345 | | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
340 | 349 | | |
341 | 350 | | |
342 | 351 | | |
| |||
446 | 455 | | |
447 | 456 | | |
448 | 457 | | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
449 | 461 | | |
450 | 462 | | |
451 | 463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
0 commit comments