File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,11 @@ jobs:
123123 if [[ "$RUNNER_OS" != "macOS" ]]; then
124124 # Get regression from github releases
125125 mkdir -p "${{ runner.temp }}/regression_tmp/install"
126- curl --output "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -L https://github.com/sofa-framework/regression/releases/download/release-master/Regression_test_master_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${RUNNER_OS}.zip
126+ export REGRESSION_URL="https://github.com/sofa-framework/regression/releases/download/release-${{ steps.sofa.outputs.run_branch }}/Regression_test_${{ steps.sofa.outputs.run_branch }}_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${RUNNER_OS}.zip"
127+ curl --output "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -L ${REGRESSION_URL}
128+ echo ${REGRESSION_URL}
127129 unzip -qq "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -d "${{ runner.temp }}/regression_tmp/install"
130+ echo "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip"
128131 # Install it in the SOFA bin directory
129132 $SUDO mv "${{ runner.temp }}"/regression_tmp/install/Regression_*/bin/* "${SOFA_ROOT}/bin"
130133 chmod +x ${SOFA_ROOT}/bin/Regression_test${{ steps.sofa.outputs.exe }}
@@ -133,6 +136,7 @@ jobs:
133136 export REGRESSION_REFERENCES_DIR="${WORKSPACE_SRC_PATH}/regression/references"
134137 export PYTHONPATH=$SOFA_ROOT/plugins/SofaPython3/lib/python3/site-packages
135138 # Run regression test bench
139+ echo "${SOFA_ROOT}/bin/Regression_test${{ steps.sofa.outputs.exe }}"
136140 ${SOFA_ROOT}/bin/Regression_test${{ steps.sofa.outputs.exe }}
137141 else
138142 echo "Regression tests are not supported on the CI for macOS yet (TODO)"
You can’t perform that action at this time.
0 commit comments