sofa-framework/SOFA Setup Action

Setup everything needed to build a SOFA plugin

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
sofa_rootSOFA install directory to get Regression binary, set SOFA_ROOT variable and append the PYTHONPATH env variableyes
sofa_versionVersion of SOFA used. Needed to know which binary verison of Regression to use (either master or a release e.g. v24.12)yes
src_dirDirectory of the sources of the plugin to be tested (regression file will be looked for in example folder)yes
build_dirBuild directory of the plugin. Used to include bindings if some are compiled by this pluginyes
output_dirDirectory where to dump logs and results of tests. Will be created if it does not existyes
python_exepath to python executableyes
run_unit_testsIf true, will run the unit tests found in the build_dir/binnotrue
run_scene_testsIf true, will run all the scene found under src_dir/examplesnotrue
run_regression_testsIf true, will run the regression tests found in the src_dir/examplesnotrue
nb_parallel_threadsTests will be run in parallel, this is the maximum number of thread allowedno1
ci_dirDirectory of the clone of the ci repository. If none is given, the plugin will be fetched by this actionno
regression_dirDirectory of the clone of the Regression repository. If none is given, the plugin will be fetched by this actionno
publish_logsBoolean stating if the logs should be directly published by the actionnotrue
namedescription
unit_test_resultsLog file containing scene tests results
unit_test_results_pathLog file containing scene tests results
scene_test_resultsLog file containing scene tests results
scene_test_results_pathLog file containing scene tests results
regression_test_resultsLog file containing regression tests results
regression_test_results_pathLog file containing regression tests results