diff --git a/.github/workflows/build-tantivy.yml b/.github/workflows/build-tantivy.yml index 3aaa32cf7..c361f3ba6 100644 --- a/.github/workflows/build-tantivy.yml +++ b/.github/workflows/build-tantivy.yml @@ -64,15 +64,14 @@ jobs: # The repo-root tantivy/ package (from .tantivy import *) shadows the # wheel's compiled submodule when tested in place (no .so there outside # a maturin-develop editable install), so stage only what the suite - # needs and test the installed wheel via --pyargs (gotcha 25). - # docs/contributing.md is a symlink to ../CONTRIBUTING.md, so that file - # needs staging too or the doctest suite hits a dangling link. + # needs (gotcha 25). docs/contributing.md is a symlink to + # ../CONTRIBUTING.md, so that file needs staging too or test_docs.py + # hits a dangling link. CIBW_TEST_SOURCES: tests docs CONTRIBUTING.md CIBW_TEST_REQUIRES: pytest mktestdocs==0.2.1 CIBW_TEST_COMMAND: >- python -c "import tantivy.tantivy as m; assert m.__file__.endswith('.so'), m.__file__" && - python -m pytest tests && - python -m pytest --pyargs tantivy --doctest-modules + python -m pytest tests - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: