From 02df9d8a2130050ada013e5c0c40cb882c685610 Mon Sep 17 00:00:00 2001 From: TheRealZoidberg <60232355+TheRealZoidberg@users.noreply.github.com> Date: Tue, 12 Sep 2023 14:31:50 -0400 Subject: [PATCH] Update ci_scheduled.yml --- .github/workflows/ci_scheduled.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci_scheduled.yml b/.github/workflows/ci_scheduled.yml index 7c3811a..8592071 100644 --- a/.github/workflows/ci_scheduled.yml +++ b/.github/workflows/ci_scheduled.yml @@ -46,6 +46,13 @@ jobs: - name: Install dependencies run: | #pip install -r requirements.txt + if [ -f $(dirname "${{ matrix.notebooks }}")/pre-requirements.sh ]; then + 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 pip install -r $(dirname "${{ matrix.notebooks }}")/requirements.txt pip install pytest pip install nbval