Update requirements.txt #192
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tutorial jupyter notebook | |
on: | |
push: | |
# branches: [ main, develop ] | |
pull_request: | |
# branches: [ main, develop ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, windows-latest ] | |
python: [ "3.9" ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Initialize Python ${{ matrix.python }} | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install packages | |
run: | | |
python -m pip install --upgrade pip jupyter | |
pip install . | |
pip uninstall -y numpy | |
pip install mxnet==1.7.0post2 --no-dependencies | |
pip install numpy==1.23.5 | |
python -m ipykernel install --user --name run-notebook --display-name "Run notebook" | |
- name: Run notebooks | |
run: | | |
cd phenoscore | |
jupyter execute --kernel_name run-notebook ../notebooks/tutorial.ipynb |