You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes sure the library at least imports, and the kernel can start, but it doesn't do a deeper test of the library itself.
We could (re)use TestPythonSML.py for this, and run it for every single wheel. This'll increase build times, but it could be a more thorough check of what we send to pypi.
Currently there are two lines / chunks which need to be properly converted before we can change the test command to python TestPythonSML.py;
This import line needs to fallback to using soar_sml, if this is installed that way.
This path-determining line needs to be replaced if soar_sml is imported, since then the file is installed in an installation directory.
Instead, we should probably either look at an environment variable, or simply assume the current directory, or possibly walk up directory parents until we see SoarUnitTests
The text was updated successfully, but these errors were encountered:
ShadowJonathan
changed the title
Have cibuildwheel use TestPythonSML for test command
Have cibuildwheel use TestPythonSML.py for test command
May 15, 2024
After #448
Currently this following python code is executed to test:
This makes sure the library at least imports, and the kernel can start, but it doesn't do a deeper test of the library itself.
We could (re)use
TestPythonSML.py
for this, and run it for every single wheel. This'll increase build times, but it could be a more thorough check of what we send to pypi.Currently there are two lines / chunks which need to be properly converted before we can change the test command to
python TestPythonSML.py
;This import line needs to fallback to using
soar_sml
, if this is installed that way.This path-determining line needs to be replaced if
soar_sml
is imported, since then the file is installed in an installation directory.Instead, we should probably either look at an environment variable, or simply assume the current directory, or possibly walk up directory parents until we see
SoarUnitTests
The text was updated successfully, but these errors were encountered: