From a9ff69ea96193daf49a1adb5bf90ae56dd393a87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20KUBLER?= <gregoire.kubler@proton.me> Date: Fri, 5 Jul 2024 09:45:26 +0200 Subject: [PATCH] feat : disabled test_export as it is executed during test and the export cannot be built in cibuildwheel --- .gitignore | 10 +++++----- aidge_core/unit_tests/test_export.py | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 824243fd9..b17a6be50 100644 --- a/.gitignore +++ b/.gitignore @@ -8,18 +8,18 @@ install*/ # VSCode .vscode -# Python +## Python +# build/packaging artifacts *.so __pycache__ *.pyc -*.egg-info dist*/ +*.egg-info wheelhouse/* _version.py -*xmlrunner-results.xml - -# python test artifact +# test artifact aidge_core/dummy_export/* +*xmlrunner-results.xml # Mermaid *.mmd diff --git a/aidge_core/unit_tests/test_export.py b/aidge_core/unit_tests/test_export.py index 59f4d7bf0..febeef96c 100644 --- a/aidge_core/unit_tests/test_export.py +++ b/aidge_core/unit_tests/test_export.py @@ -95,6 +95,7 @@ class test_export(unittest.TestCase): [ "cmake", str(self.EXPORT_PATH.absolute()), + "-DPYBIND=1", f"-DCMAKE_INSTALL_PREFIX:PATH={install_path}", ], cwd=str(self.EXPORT_PATH / "build"), -- GitLab