Compare commits
1 Commits
step35/55-
...
fix/50-smo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1da46dffd5 |
@@ -22,3 +22,8 @@ jobs:
|
||||
run: |
|
||||
if grep -rE 'sk-or-|sk-ant-|ghp_|AKIA' . --include='*.yml' --include='*.py' --include='*.sh' 2>/dev/null | grep -v .gitea | grep -v llama-cpp-fork; then exit 1; fi
|
||||
echo "PASS: No secrets"
|
||||
- name: Standalone CMake build + ctest
|
||||
run: |
|
||||
cmake -S . -B build -DTURBOQUANT_BUILD_TESTS=ON
|
||||
cmake --build build
|
||||
ctest --test-dir build --output-on-failure
|
||||
|
||||
13
tests/test_smoke_workflow.py
Normal file
13
tests/test_smoke_workflow.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user