Software Testing / Learning brief
Mei runs the tests on every pull request
In simple terms / 01
What this means in plain language
Mei starts the tests on pull requests and at night, makes the result a required check and saves the report.
Complete lesson / 02
Understand the full idea, step by step
Analogy: a lighthouse keeper's lamp check. Every evening the keeper checks the lamp, whether or not a ship has asked. When a new ship plans a route, the keeper checks again. A page of the record book goes to the harbour office.
A GitHub Actions pull request trigger (a rule that starts a run when a proposed change is opened) is the ship check. A scheduled trigger (a rule that starts a run at set times) is the evening check. The record book page is an uploaded artifact (a saved test report).
PLAIN WORDS · 1 in this section
- github
- a web site that hosts code and runs checks
Evidence & review / 03
Evidence & review
The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.
Hands-on steps for this tool. The people and the app are invented.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. Tools and screens change, and each team sets its own.
Sources for this brief — 4 sources
- Market practice
Events that trigger workflows (GitHub Docs) ↗ — GitHub Docs · GitHub Docs on events: schedule uses five-field cron in Coordinated Universal Time by default, the shortest gap is five minutes, scheduled runs use the latest commit on the default branch, and busy times such as the start of an hour can delay a run (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Store and share data with workflow artifacts (GitHub Docs) ↗ — GitHub Docs · GitHub Docs artifact guide: upload-artifact takes a name and a path, retention-days is capped by the repository limit, a Python example uses if always so results upload even when tests fail, and deleting a run deletes its artifacts (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Status checks (GitHub Docs) ↗ — GitHub Docs · GitHub Docs on status checks: a required status check must pass before a pull request can merge (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.