Skip to content

Commit

Permalink
Add CI check to install with homebrew on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Aug 9, 2023
1 parent b5133c6 commit 7738cd0
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7738cd0

Please sign in to comment.