diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa99a74..f25f109 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,10 +53,10 @@ jobs: - name: Run test suite env: # show timings of tests - PYTEST_ADDOPTS: "--durations=0" + PYTEST_ADDOPTS: "--durations=10" run: | aiida-mock-code || true - cd tests; pytest + pytest -s docs: runs-on: ubuntu-latest diff --git a/aiida_test_cache/mock_code/__init__.py b/aiida_test_cache/mock_code/__init__.py index 8821598..c9e89bd 100644 --- a/aiida_test_cache/mock_code/__init__.py +++ b/aiida_test_cache/mock_code/__init__.py @@ -18,9 +18,9 @@ # Load aiida's pytest fixtures try: # These new fixtures which use sqlite backend, introduced in aiida v2.6 - # TODO: It's not clear what happens if the user than activates + # NOTE: It's not clear what happens if the user than activates # the old fixtures as well. - import aiida.tools.pytest_fixtures + import aiida.tools.pytest_fixtures # type: ignore[import-not-found] pytest_plugins = ['aiida.tools.pytest_fixtures'] except ImportError: pytest_plugins = ['aiida.manage.tests.pytest_fixtures'] diff --git a/pyproject.toml b/pyproject.toml index 56068ca..b1e5cdc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,6 +85,7 @@ disable = [ ] [tool.pytest.ini_options] +addopts = '--durations-min=3 --strict-config --strict-markers -ra' filterwarnings = [] [tool.yapf]