Skip to content

Commit

Permalink
chore: allow forcing integrated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Dec 6, 2024
1 parent e7ef853 commit c99efaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

import importlib.util
import os
import shutil
import sys
from contextlib import contextmanager
Expand Down Expand Up @@ -32,7 +33,9 @@

IS_VALGRIND_INSTALLED = shutil.which("valgrind") is not None
skip_without_valgrind = pytest.mark.skipif(
not IS_VALGRIND_INSTALLED, reason="valgrind not installed"
"PYTEST_CODSPEED_FORCE_VALGRIND_TESTS" not in os.environ
and not IS_VALGRIND_INSTALLED,
reason="valgrind not installed",
)

if IS_VALGRIND_INSTALLED:
Expand Down
Empty file added tests/examples/__init__.py
Empty file.

0 comments on commit c99efaf

Please sign in to comment.