mirror of
https://github.com/pyscript/pyscript.git
synced 2026-03-27 11:00:44 -04:00
Upgrade to Pyodide 0.23 (#1347)
* Upgrade to Pyodide 0.23.2 * Update changelog * Use @param decorator to fix kmeans examlpe * Separate zz_example tests to run sequentially * Remove pytest.raises from pyscript_src_not_found test, use check_js_errors instead * Add 'check_js_errors' to wait_for_pyscript
This commit is contained in:
@@ -86,20 +86,26 @@ run-examples: setup build examples
|
||||
make dev
|
||||
|
||||
test:
|
||||
make examples
|
||||
make test-ts
|
||||
make test-py
|
||||
make test-integration-parallel
|
||||
make test-examples
|
||||
|
||||
# run all integration tests *including examples* sequentially
|
||||
test-integration:
|
||||
make examples
|
||||
mkdir -p test_results
|
||||
$(PYTEST_EXE) -vv $(ARGS) tests/integration/ --log-cli-level=warning --junitxml=test_results/integration.xml
|
||||
|
||||
# run all integration tests *except examples* in parallel (examples use too much memory)
|
||||
test-integration-parallel:
|
||||
mkdir -p test_results
|
||||
$(PYTEST_EXE) --numprocesses auto -vv $(ARGS) tests/integration/ --log-cli-level=warning --junitxml=test_results/integration.xml -k 'not zz_examples'
|
||||
|
||||
# run integration tests on only examples sequentially (to avoid running out of memory)
|
||||
test-examples:
|
||||
make examples
|
||||
mkdir -p test_results
|
||||
$(PYTEST_EXE) --numprocesses auto -vv $(ARGS) tests/integration/ --log-cli-level=warning --junitxml=test_results/integration.xml
|
||||
$(PYTEST_EXE) -vv $(ARGS) tests/integration/ --log-cli-level=warning --junitxml=test_results/integration.xml -k 'zz_examples'
|
||||
|
||||
test-py:
|
||||
@echo "Tests from $(src_dir)"
|
||||
|
||||
Reference in New Issue
Block a user