Closed Taka-Kazu closed 4 months ago
Hi @Taka-Kazu,
Thank you for your contribution. Test are failing though :(
I could reproduce the error using gh act
command locally. I'll take a look.
I found that CMAKE_INSTALL_PREFIX
is specified in the test. Specifying PYTHONPATH
should fix the failure.
Thank you for the PR!
This PR allows the python interface to be installed in the specified path. The default behavior is not changed.
Example:
In this case,
fields2cover.py
will be installed as/tmp/test/lib/python3.X/site-packages/fields2cover.py
And you can run test by
PYTHONPATH=${PYTHONPATH}:/tmp/test/lib/python3.X/site-packages pytest-3 tests