From 0c5ba9480b310d9de7794a6ec62e409a3e94625f Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Fri, 28 Oct 2022 09:35:13 +0300 Subject: [PATCH] Fix py.test in CI --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5bbc7d8..3c9add0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - name: Install run: | python -m pip install --upgrade pip - pip install pytest mock pycodestyle coverage pylint + pip install pytest pytest-cov mock pycodestyle coverage pylint pip install -e . - name: Lint @@ -33,5 +33,4 @@ jobs: - name: Test with pytest run: | - coverage run --source amodem/ --omit="*/__main__.py" -m py.test -v - coverage report + py.test -v --cov=amodem