Skip to content

Run full wasm test suite in JupyterLite terminal as well as cockle - #197

Open
ianthomas23 wants to merge 1 commit into
QuantStack:mainfrom
ianthomas23:wasm-jlite-test2
Open

ianthomas23 wants to merge 1 commit into
QuantStack:mainfrom
ianthomas23:wasm-jlite-test2

Conversation

@ianthomas23

Copy link
Copy Markdown
Member

This runs the full test suite in the JupyterLite terminal as well as cockle. Primarily this tests that the JupyterLite shared drive (in the /drive directory) behaves correctly for all of our git2cpp workflows.

The two run as separate jobs in the test-wasm CI run, after the build stage. The README is updated to explain the usage, we now have separate make test-cockle and make test-lite commands. The approach for test-lite is similar to that of test-cockle except that we do not have direct JavaScript access to the cockle Shell, instead we have a terminal within the JupyterLite UI that we can enter keystrokes in, and files written are accessible from the JupyterLite contents manager.

test-lite is slower to run than test-cockle.

There are two tests that are skipped on test-lite as they use symlinks which are not supported by the JupyterLite shared drive. We also have a new test added in this PR called test_checkout_rmdir_bug which fails when run on jupyterlite <= 0.8.6 but will be fixed in the next release due out next week hopefully.

Closes #195.

@ianthomas23 ianthomas23 added maintenance run-wasm-ci Run WASM tests in CI for the current PR labels Oct 30, 2026
@codecov

codecov Bot commented Oct 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.78%. Comparing base (29ba827) to head (6ecad58).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #197      +/-   ##
==========================================
- Coverage   88.34%   86.78%   -1.57%     
==========================================
  Files          64       64              
  Lines        3072     3072              
  Branches      376      375       -1     
==========================================
- Hits         2714     2666      -48     
- Misses        358      406      +48     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance run-wasm-ci Run WASM tests in CI for the current PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run wasm test suite in JupyterLite

1 participant