From aa2e430865f385e152b9222e1c46569e80a4e7a1 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Tue, 9 Mar 2021 00:30:18 +0000 Subject: [PATCH] tests: skip py27 notebook --- tox.ini | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index badf64583..ea825bbee 100644 --- a/tox.ini +++ b/tox.ini @@ -14,8 +14,8 @@ deps= pytest-cov pytest-timeout py{37,38,39}: pytest-asyncio - ipywidgets - nbval + !py{27,py2}: ipywidgets + !py{27,py2}: nbval coverage coveralls codecov @@ -37,15 +37,14 @@ deps= py{36,37,38,39}: rich tf: tensorflow commands= - pytest --cov=tqdm --cov-report= tests_notebook.ipynb --nbval --current-env -W=ignore --sanitize-with=setup.cfg + !py{27,py2}: pytest --cov=tqdm --cov-report= tests_notebook.ipynb --nbval --current-env -W=ignore --sanitize-with=setup.cfg pytest --cov=tqdm --cov-report=xml --cov-report=term --cov-append -k "not perf" {[core]commands} allowlist_externals=codacy [testenv:py{27,py2}{,-tf}{,-keras}] commands= - pytest --cov=tqdm --cov-report= tests_notebook.ipynb -o addopts= -v --tb=short -rxs -W=ignore --durations=10 --nbval --current-env --sanitize-with=setup.cfg - pytest --cov=tqdm --cov-report=xml --cov-report=term --cov-append -k "not perf" -o addopts= -v --tb=short -rxs -W=error --durations=10 + pytest --cov=tqdm --cov-report=xml --cov-report=term -k "not perf" -o addopts= -v --tb=short -rxs -W=error --durations=10 {[core]commands} # no cython/numpy/pandas