title: How can I make a github action fail/pass according to its coverage?
body: <p>I have a python project where I created some tests using pytest and pytest-cov. I want to add a github action that will run the tests with coverage and fail if the coverage is below some arbitrary x number. What is the best way to go about it?</p>