mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 11:35:02 -05:00
fix(tests): disable warnings for notebook tests
- a warning in a package unrelated to the project made pytest fail - run notebook tests without warnings as sources are already tested with warnings treated as errors
This commit is contained in:
4
Makefile
4
Makefile
@@ -178,8 +178,10 @@ finalize_nb:
|
||||
poetry run python ./script/nbmake_utils/notebook_finalize.py $(NOTEBOOKS_DIR)
|
||||
.PHONY: finalize_nb
|
||||
|
||||
# A warning in a package unrelated to the project made pytest fail with notebooks
|
||||
# Run notebook tests without warnings as sources are already tested with warnings treated as errors
|
||||
pytest_nb:
|
||||
poetry run pytest --nbmake $(NOTEBOOKS_DIR)/*.ipynb
|
||||
poetry run pytest -Wignore --nbmake $(NOTEBOOKS_DIR)/*.ipynb
|
||||
.PHONY: pytest_nb
|
||||
|
||||
benchmark:
|
||||
|
||||
Reference in New Issue
Block a user