Software Testing / Learning brief

Mei runs the tests on every pull request

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.

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

REVIEWED 2026-10-31

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
  1. 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)

    The GitHub Docs events page: schedule uses five-field cron in Coordinated Universal Time by default, and the shortest gap is five minutes. Scheduled runs use the latest commit on the default branch. Busy times such as the start of an hour can delay a run. · Checked 2026-10-31

    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.

  2. 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)

    The GitHub Docs artifact guide: the upload-artifact action takes a name and a path, and retention-days is capped by the repository limit. A Python example uses if always so test results upload even when tests fail. Deleting a run deletes its artifacts. · Checked 2026-10-31

    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.

  3. 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)

    The GitHub Docs page on status checks: a required status check must pass before a pull request can merge. · Checked 2026-10-31

    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.

  4. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    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.

Learn this properly

START HEREGitHub Actions part 2: test every pull request, test on a schedule, and keep the reportStart the tests on every pull request and every night, make the result a check that must pass before merging, and upload the report so anyone can open it.Opens at L0 Explain simply · about 16 min

Related briefs