sofa-framework/SOFA Setup Action
Setup everything needed to build a SOFA plugin
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| sofa_root | SOFA install directory to get Regression binary, set SOFA_ROOT variable and append the PYTHONPATH env variable | yes | — |
| sofa_version | Version of SOFA used. Needed to know which binary verison of Regression to use (either master or a release e.g. v24.12) | yes | — |
| src_dir | Directory of the sources of the plugin to be tested (regression file will be looked for in example folder) | yes | — |
| build_dir | Build directory of the plugin. Used to include bindings if some are compiled by this plugin | yes | — |
| output_dir | Directory where to dump logs and results of tests. Will be created if it does not exist | yes | — |
| python_exe | path to python executable | yes | — |
| run_unit_tests | If true, will run the unit tests found in the build_dir/bin | no | true |
| run_scene_tests | If true, will run all the scene found under src_dir/examples | no | true |
| run_regression_tests | If true, will run the regression tests found in the src_dir/examples | no | true |
| nb_parallel_threads | Tests will be run in parallel, this is the maximum number of thread allowed | no | 1 |
| ci_dir | Directory of the clone of the ci repository. If none is given, the plugin will be fetched by this action | no | — |
| regression_dir | Directory of the clone of the Regression repository. If none is given, the plugin will be fetched by this action | no | — |
| publish_logs | Boolean stating if the logs should be directly published by the action | no | true |
Outputs
| name | description |
|---|---|
| unit_test_results | Log file containing scene tests results |
| unit_test_results_path | Log file containing scene tests results |
| scene_test_results | Log file containing scene tests results |
| scene_test_results_path | Log file containing scene tests results |
| regression_test_results | Log file containing regression tests results |
| regression_test_results_path | Log file containing regression tests results |