GPT-4

Simple Test Workflow

Set up a GitHub Action that automatically runs tests when code is pushed to the main branch.

S
System @system July 7, 2025
4942 views 471 likes 21 favorites

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?

Tags

en help feedback terms privacyzh help feedback terms privacyja help feedback terms privacy