👑 Premium Sign in Sign up

CD01 · CI/CD, GitOps & SRE

GitHub Actions CI with Tests & Artifact

A full CI workflow for a Python service: lint, unit tests, coverage gate and a build artifact.

📶 L200⏱ 50 min🧪 Live lab

🎯 You will learn to

  • Write a CI workflow
  • Add a coverage gate
  • Publish an artifact

🧪 Live environment

Runs entirely in your browser: nothing is installed, no real cloud account is used and your code is never sent to our server.

Loading the lab…

✅ Steps & checkpoints

🗺️ CI with a coverage gate

Lint, tests and coverage run on every push; coverage below the gate fails the build before an artifact is made.

CI with a coverage gateLint, tests and coverage run on every push; coverage below the gate fails the build before an artifact is made.Push / PRruffpytestcoverageGate≥ 80 %WheelartifactBuildfailspassbelowPerson / clientComputeOperationsSecurity controlData store

The 2D diagram shows the exact flow, ports and trust boundaries. The 3D scene is a concept view of the same parts; packets travel along the same arrows.

🤔 Think about it

What should happen when coverage drops?

🛡️ Safety & cost

Pipelines run in a simulator. No repository or cluster is changed.

🧹 Cleanup

Nothing to clean up.

📚 Reference documents

Official sources, checked on 5 Nov 2026. Cloud services change often; check the official page before relying on a feature. All references