The coverage-commentor
is a GitHub Action that is supposed to run when you push changes to a Pull Request.
Required The requirements such as the testing framework that are needed to run the test suite.
By default, it installs all the latest version of pytest
, unittest
and nosetest
.
It is highly recommended that you pass a specific framework along with the correct version.
Required The command that you need to execute to start the test suite.
E.g. pytest arg1 arg2
, unittest tests.myTests -v
on: pull_request
jobs:
coverage_commentor_job:
runs-on: ubuntu-latest. # Docker based GitHub Actions only run on Linux OSs.
name: Coverage Commentor
uses: actions/coverage-commentor@v1 # Replace with correct version.
with:
requirements: "pytest"
testRunCommand: "pytest"