diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 7b5d3b4..4de893e 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -16,6 +16,7 @@ env: DEFAULT_LLVM_VERSION: 18 DEFAULT_GCC_VERSION: 13 MULL_LLVM_VERSION: 17 + HYPOTHESIS_PROFILE: ci concurrency: group: ${{ github.head_ref || github.run_id }} diff --git a/test/pbt/CMakeLists.txt b/test/pbt/CMakeLists.txt index b6f8ad2..f0d60fd 100644 --- a/test/pbt/CMakeLists.txt +++ b/test/pbt/CMakeLists.txt @@ -8,6 +8,9 @@ if(${CMAKE_CXX_STANDARD} GREATER_EQUAL 20) PYTEST FILES tuple.py + EXTRA_DEPS + ${CMAKE_SOURCE_DIR}/include/stdx/tuple.hpp + ${CMAKE_SOURCE_DIR}/include/stdx/tuple_algorithms.hpp EXTRA_ARGS -vv -n2 diff --git a/test/pbt/conftest.py b/test/pbt/conftest.py index e02d40a..fb43c19 100644 --- a/test/pbt/conftest.py +++ b/test/pbt/conftest.py @@ -9,7 +9,8 @@ hypothesis.settings.register_profile("ci", max_examples=500) hypothesis.settings.register_profile("fast", max_examples=10) - +profile = os.environ.get("HYPOTHESIS_PROFILE", "fast") +hypothesis.settings.load_profile(profile) def pytest_addoption(parser): parser.addoption("--compiler", action="store", help="C++ compiler", default=None, required=False)