14 lines
412 B
Python
14 lines
412 B
Python
from pathlib import Path
|
|
|
|
|
|
WORKFLOW = Path('.gitea/workflows/smoke.yml').read_text(encoding='utf-8')
|
|
|
|
|
|
def test_smoke_workflow_builds_standalone_cmake_target():
|
|
assert 'cmake -S . -B build -DTURBOQUANT_BUILD_TESTS=ON' in WORKFLOW
|
|
assert 'cmake --build build' in WORKFLOW
|
|
|
|
|
|
def test_smoke_workflow_runs_ctest_for_roundtrip_validation():
|
|
assert 'ctest --test-dir build --output-on-failure' in WORKFLOW
|