From b119985534142bc7be10828c2f187a98ad7517ad Mon Sep 17 00:00:00 2001 From: Hatice Karatay Date: Wed, 28 Feb 2024 12:24:57 -0500 Subject: [PATCH] Ensure pre-requirements.txt within the notebook directory is installed --- .github/workflows/ci_runner.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci_runner.yml b/.github/workflows/ci_runner.yml index fbf0736..5e79584 100644 --- a/.github/workflows/ci_runner.yml +++ b/.github/workflows/ci_runner.yml @@ -76,6 +76,9 @@ jobs: chmod +x $(dirname "${{ matrix.notebooks }}")/pre-requirements.sh ./$(dirname "${{ matrix.notebooks }}")/pre-requirements.sh fi + if [ -f $(dirname "${{ matrix.notebooks }}")/pre-requirements.txt ]; then + pip install -r "${{ matrix.notebooks }}")/pre-requirements.txt + fi if [ -f pre-requirements.txt ]; then pip install -r pre-requirements.txt fi