Skip to content

Commit

Permalink
Add pyyaml and typing_extensions dependencies (fix #1112) (#1113)
Browse files Browse the repository at this point in the history
* Add pyyaml and typing_extensions dependencies (fix #1112)

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>

* Update tox.ini

---------

Signed-off-by: Fabrice Normandin <normandf@mila.quebec>
Co-authored-by: Setepenre <pierre.delaunay.tr@gmail.com>
  • Loading branch information
lebrice and Delaunay committed Aug 10, 2023
1 parent 0b10286 commit 15f752f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@
"joblib",
"pytest>=3.0.0",
"scikit-optimize",
"pyyaml",
"typing_extensions",
],
tests_require=tests_require,
setup_requires=["setuptools", "pytest-runner"],
Expand Down
7 changes: 6 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,16 @@ deps =
coverage
commands =
pip install -U {toxinidir}/tests/functional/gradient_descent_algo
coverage run --source=src --parallel-mode -m pytest --durations=50 --durations-min 1 -vv --timeout=360 \
-coverage run --source=src --parallel-mode -m pytest --durations=50 --durations-min 1 -vv --timeout=360 \
--ignore tests/unittests/algo/long \
--ignore tests/functional/backward_compatibility \
--ignore tests/functional/serving/test_frontend.py \
--ignore tests/stress {posargs}
coverage run --source=src --parallel-mode -m pytest --durations=50 --durations-min 1 -vv --timeout=360 \
--ignore tests/unittests/algo/long \
--ignore tests/functional/backward_compatibility \
--ignore tests/functional/serving/test_frontend.py \
--ignore tests/stress --lf --last-failed-no-failures none --suppress-no-test-exit-code {posargs}
coverage combine
coverage report -m
coverage xml
Expand Down

0 comments on commit 15f752f

Please sign in to comment.