Run all script unit tests on pull requests

Merged
LU
1d ago
+45-34

Maintainers get a script-test result on every pull request into the redesign branch. The job reuses the workflow from #1226, including the SEO, data, staging and parser tests. It installs the Python dependencies and uses the runner’s Node.js. Playwright is imported by the tests and needs no browser install.

Fixes #1223.

Checks

  • Python 3.11 in a clean environment with the workflow dependencies (179 script tests and 11 disciplines parser tests passed)
  • actionlint .github/workflows/script-tests.yaml
  • The same workflow passed on GitHub Actions for #1226

🤖 Generated with Codex (GPT-6.2 Sol), coordinated by Claude Code


Summary by cubic

Runs every script unit test on every pull request into rebrand-doors, replacing the old workflow that only ran cluster tests when cluster data or its parser changed.

  • Runs all tests in scripts/tests/ (SEO checks, data and staging scripts, clusters parser and sub-cluster counts) plus the disciplines parser test.
  • Installs Python 3.11 with pandas, python-docx, and playwright, which the tests import but needs no browser install.
  • Updates the workflow README and AGENTS.md to document the new job.

Fixes #1223.