Tests on Every Push with GitHub Actions

A GitHub Actions workflow in .github/workflows/ci.yml installs an API's requirements and runs Ruff, mypy and pytest on a fresh computer at every push and pull request, so a change that breaks a check gets a red cross on its commit, with a log that says which step failed and why.

By

Updated

Cheat sheet: Tests on Every Push with GitHub Actions
Category
FastAPI
Level
Journeyman
Tags
Continuous Integration, github actions, python, Runner, software-development, Status Badge, Step (github-actions), Workflow