Skip to content

Commit

Permalink
CI: Add setup python to notebooks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Feb 5, 2024
1 parent f9580df commit cf58dcb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/notebooks.yml
Expand Up @@ -21,8 +21,21 @@ jobs:
ref: ${{ github.ref }}
path: "examples"
ext: ".ipynb"

setup-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
pip install .[cvxpy,miosr] sympy
run-notebooks:
needs: find-notebooks
needs: [find-notebooks,setup-python]
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down

0 comments on commit cf58dcb

Please sign in to comment.