Don't run core Python tests on CircleCI

This commit is contained in:
Michael Droettboom 2018-06-24 12:05:21 -04:00
parent d562ed9744
commit d9b74e0571
2 changed files with 24 additions and 21 deletions

View File

@ -25,6 +25,7 @@ def run_native(hostpython, code):
def run_wasm(code):
s = conftest.SeleniumWrapper()
try:
s.load_package('numpy')
s.run(code)
try:
@ -32,6 +33,7 @@ def run_wasm(code):
except ValueError:
print('\n'.join(s.logs))
raise
finally:
s.driver.quit()
return runtime

View File

@ -171,6 +171,7 @@ def test_run_core_python_test(python_test, selenium):
def pytest_generate_tests(metafunc):
if 'python_test' in metafunc.fixturenames:
test_modules = []
if 'CIRCLECI' not in os.environ:
with open(
str(pathlib.Path(__file__).parents[0] /
"python_tests.txt")) as fp: