We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83f8af8 commit 70cd317Copy full SHA for 70cd317
2 files changed
.github/workflows/tests.yml
@@ -133,6 +133,15 @@ jobs:
133
conda activate anaconda-client-env
134
python setup.py build_ext --inplace
135
136
+ - name: Minidom test
137
+ working-directory: python
138
+ # Importing either IPython or pytest causes import of xml.dom.minidom
139
+ # So to actually test that tskit imports it, we need a minimal test
140
+ run: |
141
+ source ~/.profile
142
+ conda activate anaconda-client-env
143
+ python -c "import tskit;tskit.Tree.generate_star(5).tree_sequence.draw_svg(path='test.svg')"
144
+
145
- name: Run tests
146
working-directory: python
147
run: |
python/tests/test_drawing.py
@@ -31,7 +31,6 @@
31
import pathlib
32
import platform
33
import re
34
-import xml.dom.minidom
35
import xml.etree
36
37
import msprime
0 commit comments