diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index 7321d5c6..0a59a0b2 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -10,7 +10,5 @@ jobs: - run: pip install mypy pytest safety - run: pip install -r requirements.txt || true - run: mypy --ignore-missing-imports . || true - - run: pytest . || true - - run: pytest --doctest-modules . || true - run: shopt -s globstar #- run: safety check diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ec58390..b70d2bb1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,7 +53,8 @@ jobs: - run: python -m pip freeze - name: Test package run: | - pytest --color=yes + pytest --color=yes --mpl \ + --cov --cov-config=pyproject.toml --cov-report=term-missing - name: Upload coverage run: | curl -s https://codecov.io/bash | bash diff --git a/pyproject.toml b/pyproject.toml index ea73bc29..6e925369 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,7 +64,7 @@ find = {namespaces = false} universal = 0 [tool.pytest.ini_options] -addopts = "--mpl -v --cov --cov-config=pyproject.toml --cov-report=term-missing" +addopts = "-v" filterwarnings = [ "error", "ignore:FigureCanvasAgg is non-interactive:UserWarning",