Skip to content

chore: Bump black from 22.3.0 to 24.4.2 #175

chore: Bump black from 22.3.0 to 24.4.2

chore: Bump black from 22.3.0 to 24.4.2 #175

Workflow file for this run

name: Run Jupyter Notebooks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
prepare:
runs-on: syne-tune_ubuntu-latest_16-core
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: check out Syne Tune
uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
- name: Install dev dependencies
run: python -m pip install -e '.[dev]'
- name: Convert notebooks to python scripts
id: set-matrix
run: python ./.github/workflows/utils/notebooks2scripts.py
- name: Upload converted python script
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: converted_notebooks
path: examples/notebooks/
tests:
needs: prepare
strategy:
fail-fast: false
matrix:
script: ${{ fromJSON(needs.prepare.outputs.matrix)}}
uses: ./.github/workflows/run-syne-tune.yml
with:
download-artifact-name: converted_notebooks
download-artifact-path: examples/notebooks/
script-path: examples/notebooks/${{ matrix.script }}
extras-require: basic
additional-command: pip install xgboost