Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/build-tantivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down