diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dc0dc38e..2514e5e7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -130,7 +130,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ['3.10', '3.11'] + python-version: ['3.11'] os: [ubuntu-latest, macos-latest, windows-latest] steps: - uses: actions/checkout@v1 diff --git a/tasks.py b/tasks.py index bc5638fe..0c98d677 100644 --- a/tasks.py +++ b/tasks.py @@ -94,14 +94,17 @@ def readme(c): def tutorials(c): pipelines = os.listdir(os.path.join('orion', 'pipelines', 'pretrained')) for ipynb_file in glob.glob('tutorials/*.ipynb') + glob.glob('tutorials/**/*.ipynb'): + run = True for pipeline in pipelines: if pipeline in ipynb_file: # skip pretrained pipelines - continue - if '.ipynb_checkpoints' not in ipynb_file: - c.run(( - 'jupyter nbconvert --execute --ExecutePreprocessor.timeout=4400 ' - f'--to=html --stdout {ipynb_file}' - ), hide='out') + run = False + break + + if '.ipynb_checkpoints' not in ipynb_file and run: + c.run(( + 'jupyter nbconvert --execute --ExecutePreprocessor.timeout=4400 ' + f'--to=html --stdout {ipynb_file}' + ), hide='out') @task def pretrained(c):