Skip to content

Commit 8f8e9c5

Browse files
committed
Add CI check to install with homebrew on macos
1 parent 76db867 commit 8f8e9c5

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,38 @@ jobs:
163163
jupyter notebook --version
164164
jupyter notebook --help
165165
166+
install-brew:
167+
needs: [build]
168+
runs-on: macos-latest
169+
timeout-minutes: 15
170+
steps:
171+
- name: Install Python
172+
run: |
173+
brew install python
174+
- uses: actions/download-artifact@v3
175+
with:
176+
name: notebook-dist-${{ github.run_number }}
177+
path: ./dist
178+
- name: Install the prerequisites
179+
run: |
180+
python -m pip install -U pip wheel
181+
- name: Install the package
182+
run: |
183+
cd dist
184+
python -m pip install -vv ${{ matrix.dist }}
185+
- name: Validate environment
186+
run: |
187+
python -m pip freeze
188+
python -m pip check
189+
- name: Validate the install
190+
run: |
191+
jupyter labextension list
192+
jupyter labextension list 2>&1 | grep -ie "@jupyter-notebook/lab-extension.*enabled.*ok" -
193+
jupyter server extension list
194+
jupyter server extension list 2>&1 | grep -ie "notebook.*enabled" -
195+
jupyter notebook --version
196+
jupyter notebook --help
197+
166198
check_links:
167199
runs-on: ubuntu-latest
168200
timeout-minutes: 10

0 commit comments

Comments
 (0)