From 7738cd0ac874cbe763166a4b36216db891b8f42c Mon Sep 17 00:00:00 2001 From: Jeremy Tuloup Date: Wed, 9 Aug 2023 12:29:32 +0000 Subject: [PATCH] Add CI check to install with homebrew on `macos` --- .github/workflows/build.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0663d839b32..2495192eb45 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -163,6 +163,38 @@ jobs: jupyter notebook --version jupyter notebook --help + install-brew: + needs: [build] + runs-on: macos-latest + timeout-minutes: 15 + steps: + - name: Install Python + run: | + brew install python + - uses: actions/download-artifact@v3 + with: + name: notebook-dist-${{ github.run_number }} + path: ./dist + - name: Install the prerequisites + run: | + python -m pip install -U pip wheel + - name: Install the package + run: | + cd dist + python -m pip install -vv ${{ matrix.dist }} + - name: Validate environment + run: | + python -m pip freeze + python -m pip check + - name: Validate the install + run: | + jupyter labextension list + jupyter labextension list 2>&1 | grep -ie "@jupyter-notebook/lab-extension.*enabled.*ok" - + jupyter server extension list + jupyter server extension list 2>&1 | grep -ie "notebook.*enabled" - + jupyter notebook --version + jupyter notebook --help + check_links: runs-on: ubuntu-latest timeout-minutes: 10