From 61516b16667c831058ce488a064fd33747f3d10d Mon Sep 17 00:00:00 2001 From: mdevans Date: Wed, 9 Oct 2024 21:52:46 +0200 Subject: [PATCH] coverage bug due to opencv-python-headless: add -i to coverage report line in buld.yml --- .github/workflows/build.yml | 2 +- Pipfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17b28e6..2d6cb12 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,7 +43,7 @@ jobs: AWS_PASSWORD: ${{ secrets.AWS_PASSWORD }} run: | pipenv run coverage run -m pytest tests --log-cli-level=WARN - pipenv run coverage report --omit="tests/*" --fail-under=60 + pipenv run coverage -i report --omit="tests/*" --fail-under=60 - name: List site-packages run: | diff --git a/Pipfile b/Pipfile index 4a7f244..3c6a389 100644 --- a/Pipfile +++ b/Pipfile @@ -19,6 +19,7 @@ psutil = "*" pylibjpeg = {extras = ["all"], version = "*"} opencv-python-headless = "*" easyocr = "*" +coverage = "*" [dev-packages] radon = "*"