diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index dc27c93c884436..e1b75d3b439aea 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -196,7 +196,9 @@ jobs: - name: Run Tests timeout-minutes: 65 run: | - test -z ${BUILD_VARIANT##*tsan*} && export LD_LIBRARY_PATH=$LD_LIBRARY_PATH_TSAN + echo ${BUILD_VARIANT} | grep -q tsan && export LD_LIBRARY_PATH=$LD_LIBRARY_PATH_TSAN + echo $LD_LIBRARY_PATH + ls -l $LD_LIBRARY_PATH ./scripts/run_in_build_env.sh \ "./scripts/tests/run_test_suite.py \ --chip-tool ./out/linux-x64-chip-tool${CHIP_TOOL_VARIANT}-${BUILD_VARIANT}/chip-tool \ @@ -396,7 +398,7 @@ jobs: - name: Run Tests timeout-minutes: 10 run: | - test -z ${BUILD_VARIANT##*tsan*} && export LD_LIBRARY_PATH=$LD_LIBRARY_PATH_TSAN + echo ${BUILD_VARIANT} | grep -q tsan && export LD_LIBRARY_PATH=$LD_LIBRARY_PATH_TSAN ./scripts/run_in_build_env.sh \ "./scripts/tests/run_python_test.py \ --app out/linux-x64-all-clusters-${BUILD_VARIANT}-test/chip-all-clusters-app \