mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-30 01:32:52 +03:00
7acb52a963
# Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
67 lines
1.5 KiB
INI
67 lines
1.5 KiB
INI
[tox]
|
|
isolated_build = True
|
|
skipsdist = true
|
|
envlist =
|
|
py311
|
|
py311-base
|
|
py311-unstructured
|
|
py311-pdf
|
|
|
|
|
|
[testenv:py311]
|
|
allowlist_externals =
|
|
poetry
|
|
commands_pre =
|
|
poetry install --no-root --with test
|
|
commands =
|
|
poetry run pytest tests/ -m "not base" \
|
|
--ignore=./tests/processor/epub \
|
|
--ignore=./tests/processor/docx \
|
|
--ignore=./tests/processor/odt \
|
|
--ignore=./tests/processor/pdf \
|
|
--ignore=tests/processor/community
|
|
|
|
[testenv:py311-base]
|
|
allowlist_externals =
|
|
poetry
|
|
commands_pre =
|
|
poetry install --no-root --with test -E base
|
|
commands =
|
|
poetry run pytest tests/ -m base \
|
|
--ignore=./tests/processor/epub \
|
|
--ignore=./tests/processor/docx \
|
|
--ignore=./tests/processor/odt \
|
|
--ignore=./tests/processor/pdf \
|
|
--ignore=tests/processor/community
|
|
|
|
[testenv:py311-unstructured]
|
|
allowlist_externals =
|
|
poetry
|
|
commands_pre =
|
|
poetry install --no-root \
|
|
-E csv \
|
|
-E md \
|
|
-E ipynb \
|
|
-E epub \
|
|
-E odt \
|
|
-E docx \
|
|
-E pptx \
|
|
-E xlsx \
|
|
--with test
|
|
commands =
|
|
poetry run pytest \
|
|
tests/processor/epub \
|
|
tests/processor/docx \
|
|
tests/processor/docx \
|
|
tests/processor/odt \
|
|
tests/processor/community
|
|
|
|
|
|
[testenv:py311-pdf]
|
|
allowlist_externals =
|
|
poetry
|
|
commands_pre =
|
|
poetry install --no-root -E pdf --with test
|
|
commands =
|
|
poetry run pytest tests/processor/pdf
|