Skip to content
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

Try: Run tests using wp-now instead of wp-env #614

Closed
wants to merge 12 commits into from

Conversation

swissspidy
Copy link
Owner

No description provided.

@swissspidy swissspidy added the enhancement New feature or request label Aug 14, 2024
Copy link

github-actions bot commented Aug 14, 2024

Size Change: +4 B (0%)

Total Size: 7.31 MB

ℹ️ View Unchanged
Filename Size Change
build/100.js 88.7 kB 0 B
build/699.js 2.35 MB 0 B
build/ai.worker.js 177 kB 0 B
build/blurhash.worker.js 3.23 kB 0 B
build/canvas.worker.js 2.79 kB 0 B
build/chunk-ffmpeg.js 5.92 kB 0 B
build/chunk-selfie-segmentation.js 16.3 kB 0 B
build/dominant-color.worker.js 4.45 kB 0 B
build/ffmpeg.js 1.09 kB 0 B
build/heif.worker.js 450 kB 0 B
build/media-experiments-blocks-rtl.css 297 B 0 B
build/media-experiments-blocks.css 296 B 0 B
build/media-experiments-rtl.css 885 B 0 B
build/media-experiments.css 885 B 0 B
build/media-experiments.js 77.2 kB 0 B
build/pdf.js 579 B 0 B
build/subtitles.js 850 B 0 B
build/view-upload-request-view-rtl.css 716 B 0 B
build/view-upload-request-view.css 717 B 0 B
build/view-upload-request.js 18 kB +4 B (+0.02%)
build/vips-heif.********.wasm 1.27 MB 0 B
build/vips-jxl.********.wasm 800 kB 0 B
build/vips.********.wasm 2 MB 0 B
build/vips.worker.js 37.9 kB 0 B

compressed-size-action

@kleisauke
Copy link
Contributor

It looks like this needs WordPress/wordpress-playground@9b2debf to ensure *.wasm files are served with the application/wasm MIME type.

The latest wp-now comes with @php-wasm/* v0.6.16 (WordPress/playground-tools@9cf722f) which doesn't have such logic for WebAssembly files.
https://github.com/WordPress/wordpress-playground/blob/v0.6.16/packages/php-wasm/universal/src/lib/php-request-handler.ts#L318

@swissspidy
Copy link
Owner Author

Yep, I'm waiting for WordPress/playground-tools#345 to address that.

@swissspidy
Copy link
Owner Author

Doesn't seem stable enough yet.

@swissspidy swissspidy closed this Aug 15, 2024
@swissspidy swissspidy deleted the try/wp-now-ci branch August 15, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants