From 313c4b67c61c6bb31418b870918daef4d4fc7b0d Mon Sep 17 00:00:00 2001 From: Charles Yuan Date: Mon, 22 Jul 2024 17:58:42 -0700 Subject: [PATCH] Add check/autogenerate-notebooks to CI (#1172) * Add check/autogenerate-notebooks to CI * Switch deps file --- .github/workflows/ci.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 44c3e7601..3d21f7aef 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -99,7 +99,7 @@ jobs: pip install --no-deps -e . - run: | check/pylint - + mypy: runs-on: ubuntu-latest steps: @@ -116,3 +116,19 @@ jobs: pip install --no-deps -e . - run: | check/mypy + + autogenerate-notebooks: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: ts-graphviz/setup-graphviz@v1 + - uses: actions/setup-python@v4 + with: + python-version: "3.10" + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r dev_tools/requirements/envs/docs.env.txt + pip install --no-deps -e . + - run: | + check/autogenerate-notebooks