diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index cda1bcd..bb56ff5 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -37,4 +37,8 @@ jobs: - name: Test with pytest run: | pip install -r requirements_dev.txt - pytest tests/ + pytest --cov=binderbot tests/ + - name: Upload coverage stats to codecov.io + run: | + pip install codecov + codecov diff --git a/requirements_dev.txt b/requirements_dev.txt index 283f5d5..6b95471 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -9,4 +9,5 @@ Sphinx==1.8.5 twine==1.14.0 Click==7.0 pytest==4.6.5 +pytest-cov pytest-runner==5.1 \ No newline at end of file