Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI check to install with homebrew on macos #7005

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,41 @@ jobs:
jupyter notebook --version
jupyter notebook --help

install-brew:
needs: [build]
runs-on: macos-latest
timeout-minutes: 15
steps:
- name: Install Python with Homebrew
run: |
brew install python
- uses: actions/download-artifact@v3
with:
name: notebook-dist-${{ github.run_number }}
path: ./dist
- name: Install the prerequisites
run: |
python3 -m pip install -U pip wheel
- name: Install the package
run: |
cd dist
python3 -m pip install -vv notebook*.whl
- name: Validate environment
run: |
python3 -m pip freeze
python3 -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
- name: Browser check
run: |
python3 -m jupyterlab.browser_check --BrowserApp.default_url='/tree'

check_links:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down