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
[tests] Setting up non-regression tests on GitHub actions (#87)
* [scene] Adjusted NeedleInsertion scene parameters to reduce number of time steps for regression
* [scene] Modified NeedleInsertionCycles scenes
* [scene] Removed the InsertionHaptics_Box.py
* [scene] Renamed InsertionHaptics_Liver scene to NeedleInsertionHaptics
* [tests] Added a .regression-tests file
* [tests] Added regression files for NeedleInsertion scene
* [tests] Added regression files for NeedleInsertionCycles scene
* [tests] Added regression files for NeedleInsertionHaptics scene
* [ci] Setting up non-regression workflow steps: Checkout and build ConstraintGeometry
* [ci] Removed debug step
* [ci] Added fetching and installing regression test plugin
* [ci] Correct path to regression scenes
* [ci] Change regression references directory to mimic BeamAdapter
* [ci] Switch to installing ConstraintGeometry and export library paths for macos and ubuntu
* [ci] Add paths to SOFA_PLUGIN
* [scenes] Make RequiredPlugin loading for Geomagic conditional to avoid troubles with CI
echo "SOFA_PLUGIN_PATH=$WORKSPACE_ARTIFACT_PATH/bin" | tee -a $GITHUB_ENV
125
+
echo "SOFA_PLUGIN_PATH=$WORKSPACE_ARTIFACT_PATH/bin;$GITHUB_WORKSPACE/downstream/ConstraintGeometry/install/bin" | tee -a $GITHUB_ENV
94
126
else
95
-
echo "SOFA_PLUGIN_PATH=$WORKSPACE_ARTIFACT_PATH/lib" | tee -a $GITHUB_ENV
127
+
echo "SOFA_PLUGIN_PATH=$WORKSPACE_ARTIFACT_PATH/lib:$GITHUB_WORKSPACE/downstream/ConstraintGeometry/install/lib" | tee -a $GITHUB_ENV
96
128
fi
97
129
98
130
if [[ "$RUNNER_OS" == "macOS" ]]; then
99
-
echo "DYLD_LIBRARY_PATH=$WORKSPACE_ARTIFACT_PATH/lib:$SOFA_ROOT/lib:$SOFA_ROOT/plugins/SofaPython3/lib:$DYLD_LIBRARY_PATH" | tee -a $GITHUB_ENV
131
+
echo "DYLD_LIBRARY_PATH=$WORKSPACE_ARTIFACT_PATH/lib:$SOFA_ROOT/lib:$GITHUB_WORKSPACE/downstream/ConstraintGeometry/install/lib:$SOFA_ROOT/plugins/SofaPython3/lib:$DYLD_LIBRARY_PATH" | tee -a $GITHUB_ENV
100
132
fi
101
133
102
134
if [[ "$RUNNER_OS" == "Linux" ]]; then
103
-
echo "LD_LIBRARY_PATH=$WORKSPACE_ARTIFACT_PATH/lib:$SOFA_ROOT/lib:$SOFA_ROOT/plugins/SofaPython3/lib:$LD_LIBRARY_PATH" | tee -a $GITHUB_ENV
135
+
echo "LD_LIBRARY_PATH=$WORKSPACE_ARTIFACT_PATH/lib:$SOFA_ROOT/lib:$GITHUB_WORKSPACE/downstream/ConstraintGeometry/install/lib:$SOFA_ROOT/plugins/SofaPython3/lib:$LD_LIBRARY_PATH" | tee -a $GITHUB_ENV
136
+
fi
137
+
138
+
# - name: Check environment for tests
139
+
# shell: bash
140
+
# run: |
141
+
# echo '------ ls -la "$WORKSPACE_SRC_PATH" ------'
142
+
# ls -la "$WORKSPACE_SRC_PATH"
143
+
# echo '------ ls -la "$WORKSPACE_BUILD_PATH" ------'
144
+
# ls -la "$WORKSPACE_BUILD_PATH"
145
+
# echo '------ ls -la "$WORKSPACE_INSTALL_PATH" ------'
146
+
# ls -la "$WORKSPACE_INSTALL_PATH"
147
+
# echo '------ ls -la "$WORKSPACE_ARTIFACT_PATH" ------'
0 commit comments