Chapter 4

k6 in CI

Block regressions in PRs.

~8 min total1 lessonsAssignment

By the end of this chapter you'll be able to

  • Run k6 in GitHub Actions
  • Fail the build on threshold breach

Chapter assignment

PR-gating perf check

Wire k6 smoke + load tests into a GitHub Action that runs on every PR. Open a PR with an intentional regression (e.g., remove a DB index). Confirm the PR check fails.

See success criteria

Lesson 1 takes ~8 min.

Start chapter

Spot a typo? Have an idea?

Help us improve this chapter. One click opens a GitHub issue with this chapter's URL pre-filled — suggest a clearer wording, report a bug, or request a new lesson. The course keeps improving thanks to learners like you.

Suggest an improvement on GitHub