From 29b24bd13a6c2427917add0ff37c189f3e1f6c14 Mon Sep 17 00:00:00 2001 From: epernod Date: Mon, 15 Jul 2024 12:23:49 +0200 Subject: [PATCH] Try to fix CI --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 628d74a..0b9fe29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,6 +86,19 @@ jobs: if [[ "$RUNNER_OS" == "Linux" ]]; then echo "LD_LIBRARY_PATH=$WORKSPACE_ARTIFACT_PATH/lib:$SOFA_ROOT/lib:$SOFA_ROOT/plugins/SofaPython3/lib:$LD_LIBRARY_PATH" | tee -a $GITHUB_ENV fi + - name: Check environment for tests + shell: bash + run: | + echo '------ ls -la "$WORKSPACE_SRC_PATH" ------' + ls -la "$WORKSPACE_SRC_PATH" + echo '------ ls -la "$WORKSPACE_BUILD_PATH" ------' + ls -la "$WORKSPACE_BUILD_PATH" + echo '------ ls -la "$WORKSPACE_INSTALL_PATH" ------' + ls -la "$WORKSPACE_INSTALL_PATH" + echo '------ ls -la "$WORKSPACE_ARTIFACT_PATH" ------' + ls -la "$WORKSPACE_ARTIFACT_PATH" + echo '----------------------' + echo "SOFA_ROOT = $SOFA_ROOT" - name: Run Tearing_test if: always() @@ -102,6 +115,7 @@ jobs: if [[ "$RUNNER_OS" != "macOS" ]]; then # Get regression from github releases mkdir -p "${{ runner.temp }}/regression_tmp/install" + echo 'Downloading regression binary: https://github.com/sofa-framework/regression/releases/download/release-master/Regression_test_master_for-SOFA-${{ steps.sofa.outputs.sofa_version }}_${RUNNER_OS}.zip' 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 unzip -qq "${{ runner.temp }}/regression_tmp/${RUNNER_OS}.zip" -d "${{ runner.temp }}/regression_tmp/install" # Install it in the SOFA bin directory