File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 86
86
pip install \
87
87
-r dev_tools/requirements/deps/format.txt \
88
88
-r dev_tools/requirements/deps/pylint.txt \
89
- -r dev_tools/requirements/deps/pytest.txt
89
+ -r dev_tools/requirements/deps/pytest.txt \
90
+ -r dev_tools/requirements/deps/notebook.txt
90
91
- name : Pytest check
91
92
run : check/pytest -n auto --ignore=cirq-core/cirq/contrib --enable-slow-tests
Original file line number Diff line number Diff line change 21
21
22
22
import importlib .metadata
23
23
import os
24
- import sys
25
24
import tempfile
26
25
27
26
import pytest
28
27
29
28
from dev_tools import shell_tools
30
29
from dev_tools .notebooks import filter_notebooks , list_all_notebooks , rewrite_notebook
30
+ from dev_tools .test_utils import only_on_posix
31
31
32
32
SKIP_NOTEBOOKS = [
33
33
# skipping vendor notebooks as we don't have auth sorted out
@@ -87,7 +87,7 @@ def env_with_temporary_pip_target():
87
87
88
88
89
89
@pytest .mark .slow
90
- @pytest . mark . skipif ( sys . platform != "linux" , reason = "Linux-only test" )
90
+ @only_on_posix
91
91
@pytest .mark .parametrize ("notebook_path" , filter_notebooks (list_all_notebooks (), SKIP_NOTEBOOKS ))
92
92
def test_notebooks_against_cirq_head (
93
93
notebook_path , require_packages_not_changed , env_with_temporary_pip_target
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ ipykernel==5.3.4
8
8
9
9
# for executing notebooks in tests
10
10
papermill~=2.3.2
11
+ quimb~=1.6.0
11
12
12
13
# assumed to be part of colab
13
14
seaborn~=0.11.1
You can’t perform that action at this time.
0 commit comments