Skip to content

Commit 07d474a

Browse files
committed
Skip notebook tests and add test dependencies to docker image
1 parent fa83d32 commit 07d474a

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

examples/test_notebooks.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,11 @@ def skip_notebook(notebook_path):
6464
]
6565

6666

67-
@pytest.mark.notebooks
67+
@pytest.mark.skip(
68+
'Need some more work to run reliably, e.g. figuring out how to deal with '
69+
'max number of models per org, therefore skipping from CI. However, this '
70+
'test can be run locally after updating notebooks to ensure notebooks '
71+
'are working.')
6872
@pytest.mark.parametrize("notebook_path", run_notebook_paths)
6973
def test_notebooks_run_without_errors(notebook_path):
7074
run_notebook(examples_path / notebook_path)

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ imagesize
1414
pyproj
1515
pygeotile
1616
typing-extensions
17-
pytest-xdist
17+
pytest-xdist
18+
nbformat~=5.7.0
19+
nbconvert~=7.2.6

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ passenv =
2121
LABELBOX_TEST_GRAPHQL_API_ENDPOINT
2222
DA_GCP_LABELBOX_API_KEY
2323

24-
commands = pytest -k "not notebooks" {posargs}
24+
commands = pytest {posargs}

0 commit comments

Comments
 (0)