8000 Upgrade to Pyodide 0.23 by JeffersGlass · Pull Request #1347 · pyscript/pyscript · GitHub
[go: up one dir, main page]

Skip to content

Upgrade to Pyodide 0.23 #1347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6c136b3
Separate example tests to run sequentially
JeffersGlass May 12, 2023
c3befef
Remove extraneous example build
JeffersGlass May 12, 2023
335810d
Remove unnecessary 'make examples'
JeffersGlass May 15, 2023
e36a2b3
Merge branch 'main' into pyodide-0-23-0
JeffersGlass May 15, 2023
897af7b
Adjust makefile and rerun CI
JeffersGlass May 15, 2023
9197a3f
Remove pytest.raises from test, use check_js_errors
JeffersGlass May 15, 2023
413aefa
Add 'check_js_errors' to wait_for_pyscript
JeffersGlass May 15, 2023
0443dfc
Cleanup PR
JeffersGlass May 15, 2023
d91610c
Address some comments
JeffersGlass May 16, 2023
e7d5190
Adjust comment
JeffersGlass May 16, 2023
3e7114d
Rollback change to version check?
JeffersGlass May 16, 2023
c3ae4bd
Add comment on version
JeffersGlass May 21, 2023
f2d4b09
Merge branch 'main' into pyodide-0-23-0
JeffersGlass May 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Separate example tests to run sequentially
  • Loading branch information
JeffersGlass committed May 12, 2023
commit 6c136b38c5ab2eb665625bddf178e84f996d9608
3 changes: 3 additions & 0 deletions .github/workflows/build-unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ jobs:
- name: Integration Tests
run: make test-integration-parallel

- name: Examples Tests
run: make test-examples

- uses: actions/upload-artifact@v3
with:
name: pyscript
Expand Down
11 changes: 9 additions & 2 deletions pyscriptjs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,27 @@ run-examples: setup build examples
make dev

test:
make examples
make test-ts
make test-py
make test-integration-parallel
make examples
make test-examples

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)"
Expand Down
0