File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 31
31
32
32
- name : Create the conda environment
33
33
shell : bash -l {0}
34
- run : mamba install -q python=${{ matrix.python_version }} pip jupyterlab_pygments==0.1.0 pytest-cov nodejs yarn flake8 ipywidgets matplotlib xeus-cling openssl=1.1.1l "traitlets>=5.0.3,<6"
34
+ run : mamba install -q python=${{ matrix.python_version }} pip jupyterlab_pygments==0.1.0 pytest-cov pytest-rerunfailures nodejs yarn flake8 ipywidgets matplotlib xeus-cling openssl=1.1.1l "traitlets>=5.0.3,<6"
35
35
36
36
- name : Install dependencies
37
37
shell : bash -l {0}
46
46
- name : Run tests
47
47
shell : bash -l {0}
48
48
run : |
49
- VOILA_TEST_XEUS_CLING=1 py.test tests/ --async-test-timeout=240
49
+ VOILA_TEST_XEUS_CLING=1 py.test tests/ --async-test-timeout=240 --reruns 2 --reruns-delay 1
50
50
voila --help # Making sure we can run `voila --help`
51
51
# tests if voila sends a 'heartbeat' to avoid proxies from closing an apparently stale connection
52
52
# Note that wget is the only easily available software that has a read-timeout
82
82
83
83
- name : Install dependencies
84
84
run : |
85
- python -m pip install jupyterlab_pygments==0.1.0 pytest-cov flake8 ipywidgets matplotlib traitlets
85
+ python -m pip install jupyterlab_pygments==0.1.0 pytest-cov pytest-rereunfailures flake8 ipywidgets matplotlib traitlets
86
86
yarn install --network-timeout 100000
87
87
python -m pip install ".[test]"
88
88
cd tests/test_template
93
93
- name : Run test
94
94
run : |
95
95
set VOILA_TEST_DEBUG=1
96
- py.test tests/ --async-test-timeout=240
96
+ py.test tests/ --async-test-timeout=240 --reruns 2 --reruns-delay 1
Original file line number Diff line number Diff line change 53
53
matplotlib
54
54
mock
55
55
pytest
56
+ pytest-rerunfailures
56
57
pytest-tornasync
57
58
58
59
visual_test =
You can’t perform that action at this time.
0 commit comments