Skip to content

Commit

Permalink
check python version
Browse files Browse the repository at this point in the history
  • Loading branch information
RRosio committed Aug 9, 2023
1 parent b5133c6 commit 6280c8b
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,43 @@ 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
sudo ln -s /opt/homebrew/bin/python3 /usr/local/bin/python
python --version
which python
python3 --version
which python3
- 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
check_links:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down

0 comments on commit 6280c8b

Please sign in to comment.