Skip to content

test: detect available python command in wpt runner#5427

Merged
mcollina merged 1 commit into
mainfrom
fix/wpt-runner-python-detection
Jun 15, 2026
Merged

test: detect available python command in wpt runner#5427
mcollina merged 1 commit into
mainfrom
fix/wpt-runner-python-detection

Conversation

@mcollina

Copy link
Copy Markdown
Member

Summary

  • detect whether python3 or python is available before invoking WPT tooling
  • reuse the discovered Python command for setup, manifest generation, host file generation, and the WPT server
  • fail with a clearer error when no usable Python 3 command is available

Testing

  • CI=true npm run test:wpt:setup
  • CI=true npm run test:wpt

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.36%. Comparing base (363e44f) to head (6576f16).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5427   +/-   ##
=======================================
  Coverage   93.35%   93.36%           
=======================================
  Files         110      110           
  Lines       36993    36993           
=======================================
+ Hits        34535    34537    +2     
+ Misses       2458     2456    -2     

☔ 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.

@mcollina mcollina merged commit 8a0392c into main Jun 15, 2026
36 of 38 checks passed
@mcollina mcollina deleted the fix/wpt-runner-python-detection branch June 15, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants