diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index eca03d8..2be5ad5 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -27,7 +27,6 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install flake8 pytest python -m pip install .[test] - name: Lint with flake8 run: | @@ -37,4 +36,4 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest run: | - pytest + pytest --cov diff --git a/setup.cfg b/setup.cfg index 3ece314..2d8112f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -47,7 +47,9 @@ dev = # extras for CI test runner test = + flake8 pytest + pytest-cov [pycodestyle]