From ebc7c44b1a70e88a7e311e883c5dc4a2d9192e0e Mon Sep 17 00:00:00 2001 From: salman2013 Date: Wed, 3 Apr 2024 10:01:27 +0500 Subject: [PATCH] chore: testing ci check --- .github/workflows/check_dependencies.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check_dependencies.yml b/.github/workflows/check_dependencies.yml index dc4d3cb59b7e..a6721d497b3a 100644 --- a/.github/workflows/check_dependencies.yml +++ b/.github/workflows/check_dependencies.yml @@ -25,12 +25,11 @@ jobs: - name: Copy Python requirements file run: | - py_reqs=$(find . -maxdepth 1 -name "requirements*.txt" | head -n 1) - if [ -f "$py_reqs" ]; then - cp "$py_reqs" WORK_DIR/repo_work/base.txt - echo "Python requirements file: $py_reqs" + for req_file in "requirements/edx/base.txt" "requirements/base.txt" "requirements.txt"; do + if [ -f "$req_file" ]; then + cp "$req_file" WORK_DIR/repo_work/base.txt + echo "Python requirements file found: $req_file" echo "Content of base.txt:" - cat "$py_reqs" - else - echo "No Python requirements file found." + cat "$req_file" + break fi \ No newline at end of file