Skip to content

Commit 677a9be

Browse files
committed
CI: update the package name on CI, too
1 parent 0fb3400 commit 677a9be

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/pip.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ jobs:
4545
# Tests that require Scipy and MPL will be skipped
4646
- name: Self-test without SciPy and MPL
4747
run: |
48-
pytest --pyargs scpdt -v
48+
pytest --pyargs scipy_doctest -v
4949
5050
- name: Self-test CLI without SciPy and MPL
5151
run: |
52-
python -m scpdt scpdt/tests/finder_cases.py -vv
52+
python -m scipy_doctest scipy_doctest/tests/finder_cases.py -vv
5353
5454
# Install Scipy and MPL
5555
- name: Install optional dependencies
@@ -59,29 +59,29 @@ jobs:
5959
# Tests that require Scipy and MPL can now run
6060
- name: Self-test with SciPy and MPL
6161
run: |
62-
pytest --pyargs scpdt -v
62+
pytest --pyargs scipy_doctest -v
6363
6464
- name: Self-test CLI with SciPy and MPL
6565
run: |
66-
python -m scpdt scpdt/tests/finder_cases.py -vv
66+
python -m scipy_doctest scipy_doctest/tests/finder_cases.py -vv
6767
6868
- name: Test testfile CLI
6969
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
7171
7272
- name: Run testmod a scipy submodule
7373
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)'
7575
7676
- name: Run testmod a scipy submodule -- Public API onlly
7777
run: |
7878
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")'
8080
8181
- 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
8383
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")
8585
for file in "${test_files[@]}"; do
8686
python -m pytest "${file}" --doctest-modules
8787
done

0 commit comments

Comments
 (0)