Files
turboquant/tests/test_smoke_workflow.py

10 lines
344 B
Python

from pathlib import Path
def test_smoke_workflow_builds_and_tests_standalone_cmake_target():
workflow = Path('.gitea/workflows/smoke.yml').read_text()
assert 'cmake -S . -B build -DTURBOQUANT_BUILD_TESTS=ON' in workflow
assert 'cmake --build build' in workflow
assert 'ctest --test-dir build --output-on-failure' in workflow