Conditional Test Workflow
条件测试工作流
Create a GitHub Action that only runs tests when specific files or directories have been modified.
创建一个仅在特定文件或目录被修改时才运行测试的GitHub Action。
Prompt
Create a GitHub Action that only runs tests if files in the src/ directory have changed. Otherwise, it should skip the job and print a message.