Simple Test Workflow
简单测试工作流程
Set up a GitHub Action that automatically runs tests when code is pushed to the main branch.
设置一个GitHub Action,使其在代码推送到主分支时自动运行测试。
Prompt
I want to set up a GitHub Action that runs tests whenever I push to the `main` branch. Can you write a simple YAML workflow using `[e.g., Node.js, Python, etc.]` that installs dependencies and runs tests?