Skip to content

Commit fce3ca7

Browse files
committed
fix: run tests in release workflow
Add test execution to release.yml to ensure releases are validated with the full test suite before creating release artifacts. Closes #21
1 parent 285f27a commit fce3ca7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,15 @@ jobs:
3636
3737
- name: Configure CMake
3838
run: |
39-
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DXCMIXIN_BUILD_EXAMPLES=ON
39+
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DXCMIXIN_BUILD_EXAMPLES=ON -DXCMIXIN_BUILD_TESTS=ON
4040
4141
- name: Build
4242
run: |
4343
cmake --build build --parallel
4444
45+
- name: Run tests
46+
run: ctest --test-dir build --output-on-failure
47+
4548
- name: Run examples
4649
run: |
4750
for exe in build/examples/*_example; do

0 commit comments

Comments
 (0)