@@ -45,11 +45,11 @@ jobs:
45
45
# Tests that require Scipy and MPL will be skipped
46
46
- name : Self-test without SciPy and MPL
47
47
run : |
48
- pytest --pyargs scpdt -v
48
+ pytest --pyargs scipy_doctest -v
49
49
50
50
- name : Self-test CLI without SciPy and MPL
51
51
run : |
52
- python -m scpdt scpdt /tests/finder_cases.py -vv
52
+ python -m scipy_doctest scipy_doctest /tests/finder_cases.py -vv
53
53
54
54
# Install Scipy and MPL
55
55
- name : Install optional dependencies
@@ -59,29 +59,29 @@ jobs:
59
59
# Tests that require Scipy and MPL can now run
60
60
- name : Self-test with SciPy and MPL
61
61
run : |
62
- pytest --pyargs scpdt -v
62
+ pytest --pyargs scipy_doctest -v
63
63
64
64
- name : Self-test CLI with SciPy and MPL
65
65
run : |
66
- python -m scpdt scpdt /tests/finder_cases.py -vv
66
+ python -m scipy_doctest scipy_doctest /tests/finder_cases.py -vv
67
67
68
68
- name : Test testfile CLI
69
69
run : |
70
- python -m scpdt ./scpdt /tests/scipy_ndimage_tutorial_clone.rst -v
70
+ python -m scipy_doctest ./scipy_doctest /tests/scipy_ndimage_tutorial_clone.rst -v
71
71
72
72
- name : Run testmod a scipy submodule
73
73
run : |
74
- python -c'from scipy.linalg import _basic; from scpdt import testmod; testmod(_basic, verbose=True)'
74
+ python -c'from scipy.linalg import _basic; from scipy_doctest import testmod; testmod(_basic, verbose=True)'
75
75
76
76
- name : Run testmod a scipy submodule -- Public API onlly
77
77
run : |
78
78
python -m pip install pooch
79
- python -c'from scipy import ndimage; from scpdt import testmod; testmod(ndimage, verbose=True, strategy="api")'
79
+ python -c'from scipy import ndimage; from scipy_doctest import testmod; testmod(ndimage, verbose=True, strategy="api")'
80
80
81
81
- name : Test pytest plugin
82
- # This test will fail in a venv where scpdt has not been installed and the plugin has not been activated
82
+ # This test will fail in a venv where scipy_doctest has not been installed and the plugin has not been activated
83
83
run : |
84
- test_files=("scpdt /tests/module_cases.py" "scpdt /tests/stopwords_cases.py" "scpdt /tests/local_file_cases.py")
84
+ test_files=("scipy_doctest /tests/module_cases.py" "scipy_doctest /tests/stopwords_cases.py" "scipy_doctest /tests/local_file_cases.py")
85
85
for file in "${test_files[@]}"; do
86
86
python -m pytest "${file}" --doctest-modules
87
87
done
0 commit comments