From f7cd7d3a286385cc887db569000b59e17bde498e Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Tue, 12 Mar 2024 15:05:51 +0100 Subject: [PATCH] Fix setup_script.sh detection in ragger reusable workflow --- .github/workflows/reusable_ragger_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable_ragger_tests.yml b/.github/workflows/reusable_ragger_tests.yml index bb6fb43..f93d82e 100644 --- a/.github/workflows/reusable_ragger_tests.yml +++ b/.github/workflows/reusable_ragger_tests.yml @@ -128,7 +128,7 @@ jobs: sudo apt-get update && sudo apt-get install -y qemu-user-static tesseract-ocr libtesseract-dev pip install -U pip setuptools pip install -r "${{ needs.call_get_app_metadata.outputs.pytest_directory }}/requirements.txt" - [[ -f ${{ needs.call_get_app_metadata.outputs.pytest_directory}}/setup_script.sh ]] && ./${{ needs.call_get_app_metadata.outputs.pytest_directory }}/setup_script.sh + if [[ -f ${{ needs.call_get_app_metadata.outputs.pytest_directory }}/setup_script.sh ]]; then ./${{ needs.call_get_app_metadata.outputs.pytest_directory }}/setup_script.sh; fi - name: Run test env: