Software Testing / Learning brief

Leo adds a browser matrix, a cache and a secret

What this means in plain language

Leo runs tests in two browsers, caches the install and passes a password as a secret.

Understand the full idea, step by step

Analogy: a bicycle repair shop with parts bins and a key box. The same repair is done on a road bike and a mountain bike at the same time. A bin of ready parts saves a trip to the supplier. The shop keys stay in a locked box, never on the wall.

The two bikes are a GitHub Actions matrix run (one job run once for each value, such as each browser). The bin is a dependency cache (saved dependency files, such as downloaded packages). The locked box is a GitHub Actions secret (a hidden value such as a password).

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 — 3 sources
  1. Market practice

    Running variations of jobs in a workflow (GitHub Docs) ↗ — GitHub Docs · GitHub Docs matrix page: a matrix strategy makes one job for each combination of values, include adds combinations, exclude removes them, fail-fast cancels running jobs when one fails, max-parallel caps how many run at once, and a matrix can make at most 256 jobs (search excerpt, page not opened)

    The GitHub Docs matrix page: a matrix strategy makes one job for each combination of values. Include adds combinations and exclude removes them. Fail-fast cancels running jobs when one fails, and max-parallel caps how many run at once. A matrix can make at most 256 jobs. · 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

    Dependency caching reference and Using secrets in GitHub Actions (GitHub Docs) ↗ — GitHub Docs · GitHub Docs on caching and secrets: the cache action tries an exact key and then restore keys, a key can join the runner system with a hash of the package lock file, keys are capped at 512 characters, secrets are read through the secrets context and hidden in logs, and secrets are not passed to workflows from forks (search excerpt, page not opened)

    The GitHub Docs pages on caching and secrets: the cache action looks for an exact key first and then restore keys. A key can join the runner system with a hash of the package lock file, and keys are capped at 512 characters. Secrets are read through the secrets context and hidden in logs. Secrets are not passed to workflows from forks. · 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. 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 3: matrix runs, caching and secrets used safelyRun the same tests in several browsers at once, save install time with a cache, and pass a password to a test without ever writing it in the file.Opens at L0 Explain simply · about 16 min

Related briefs

It works on my machine, says Leo

Tom reports a reminder that shows the wrong time and Leo cannot see it. Tom writes down both setups, compares them side by side and finds that the time zone is the difference.

READ BRIEF