diff --git a/.github/workflows/run_use_cases_examples.yaml b/.github/workflows/run_use_cases_examples.yaml index 61b89d316..e93fce69a 100644 --- a/.github/workflows/run_use_cases_examples.yaml +++ b/.github/workflows/run_use_cases_examples.yaml @@ -54,7 +54,7 @@ jobs: - name: Set up Environment run: | # Setup commands if any, for example, installing dependencies, etc. - apt-get update && apt-get install -y python3-venv make git git-lfs + apt-get update && apt-get install -y python3-venv make git git-lfs binutils - name: Checkout Code uses: actions/checkout@v4 diff --git a/script/make_utils/run_use_case_examples.sh b/script/make_utils/run_use_case_examples.sh index 1f1bbeff1..337dd60eb 100755 --- a/script/make_utils/run_use_case_examples.sh +++ b/script/make_utils/run_use_case_examples.sh @@ -33,6 +33,7 @@ setup_virtualenv() { local venv_path="/tmp/virtualenv_$1" echo "Setting up virtual environment in $venv_path..." python3 -m venv "$venv_path" + # shellcheck disable=SC1090 source "${venv_path}/bin/activate" echo "Virtual environment activated." } @@ -55,7 +56,8 @@ install_requirements() { run_example() { local example_dir=$1 - local example_name=$(basename "$example_dir") + local example_name + example_name=$(basename "$example_dir") if [ ! -f "${example_dir}/Makefile" ]; then echo "No Makefile found in $example_dir, skipping..."