diff --git a/.github/workflows/run_notebook.yml b/.github/workflows/run_notebook.yml new file mode 100644 index 0000000..a19a336 --- /dev/null +++ b/.github/workflows/run_notebook.yml @@ -0,0 +1,82 @@ +name: Run Notebook + +on: + workflow_dispatch: + schedule: + # Runs at 9:00 AM Central (14:00 UTC) + - cron: '0 14 * * *' + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + run-notebook: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Extract dependencies from colabtools + run: | + # Download setup.py + curl -s https://raw.githubusercontent.com/googlecolab/colabtools/refs/heads/main/setup.py > setup.py + # Extract DEPENDENCIES using Python + python3 - <