File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 run : |
3838 set -eux
3939 python -m pip install -U pip
40- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
41- if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
42- pip install pytest coverage nbformat nbclient
40+ pip install -r service/requirements.test.txt
4341 if [ -f service/pyproject.toml ] || [ -f service/setup.cfg ] || [ -f service/setup.py ]; then
4442 pip install -e service
4543 fi
4947 run : |
5048 $ErrorActionPreference = "Stop"
5149 python -m pip install -U pip
52- if (Test-Path requirements.txt) { pip install -r requirements.txt }
53- if (Test-Path requirements-dev.txt) { pip install -r requirements-dev.txt }
54- pip install pytest coverage nbformat nbclient
50+ pip install -r service/requirements.test.txt
5551 if (Test-Path service/pyproject.toml -or Test-Path service/setup.cfg -or Test-Path service/setup.py) {
5652 pip install -e service
5753 }
Original file line number Diff line number Diff line change 66
77
88def test_workspace_notebook_runs_and_prints_hello ():
9- nb_path = Path ("main.ipynb" )
9+ nb_path = Path (__file__ ). resolve (). parents [ 1 ] / "main.ipynb"
1010 assert nb_path .exists (), f"Notebook not found: { nb_path } "
1111
1212 nb = nbformat .read (str (nb_path ), as_version = 4 )
You can’t perform that action at this time.
0 commit comments