mirror of https://github.com/pyodide/pyodide.git
Don't run core Python tests on CircleCI
This commit is contained in:
parent
d562ed9744
commit
d9b74e0571
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue