title: Fail build if coverage lowers
body: <p>I have GitHub Actions that build and test my Python application. I am also using <code>pytest-cov</code> to generate a code coverage report. This report is being uploaded to codecov.io.</p>
  
  <p>I know that codecov.io can't fail your build if the coverage lowers, so how do I go about with GitHub Actions to fail the build if the coverage drops? Do I have to check the previous values and compare with the new "manually" (having to write a script)? Or is there an existing solution for this?</p>