[ci] Run ctest with wheel config
Usage:
python -m venv .venv
source .venv/bin/activate
pip install -e .[test] -v
pytest
ctest --test-dir _skbuild/cp* -LE large
- Added a new job
build with pipwhich runs these commands. -
ogsfrom wheel now supports integrated vtkdiff checking (-r-option). - Enabled building of the testrunner in wheel configs.
Just a note: It is also possible to copy the ctest config outside of the build directory with:
cd build-dir
fd CTestTestfile.cmake -E _deps -0 | rsync -a --files-from=- --from0 ./ /tmp/ctestfiles/
ctest --test-dir /tmp/ctestfiles
But there are still hardcoded build dir paths. Some could be re-written to relative paths (e.g. ogs output directory) but some ctest require a working directory inside the build-directory (some utils tests). To make this more usable there is more work required.
-
Feature description was added to the changelog -
Tests covering your feature were added? -
Any new feature or behaviour change was documented?
Edited by Lars Bilke