diff --git a/.github/workflows/continuous-deployment.yml b/.github/workflows/continuous-deployment.yml index c841501f..7a51a792 100644 --- a/.github/workflows/continuous-deployment.yml +++ b/.github/workflows/continuous-deployment.yml @@ -85,9 +85,13 @@ jobs: python-version: ${{ matrix.python }} - id: run - name: Run + name: Run tests run: make test + - id: coverage + name: Coverage report + run: make coverage + test-build: name: Build Python package runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index 56ad9c34..a7d203b0 100644 --- a/Makefile +++ b/Makefile @@ -92,11 +92,10 @@ mypy: ## run mypy type checks test: ## run all tests $(call banner, 🤖 Running tests 🤖) - @$(PYTHON) setup.py -q test + @$(PIPENV) coverage run setup.py -q test coverage: ## check code coverage - @$(PIPENV) coverage run --source warn -m pytest @$(PIPENV) coverage report -m #