aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-06-30 12:19:40 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-06-30 13:16:21 -0400
commit2f18f2e68927946d13933419d4f66540d16c867d (patch)
treec49812e0ebd3dc0fcab74f46342a4ea61614bfb1 /.github/workflows
parentcf5a884d271527a108c6bda3751993b925609595 (diff)
downloadstasis-2f18f2e68927946d13933419d4f66540d16c867d.tar.gz
Split RT tests from Unit testswheel-summary
* Enable verbose output for RT side * Truncate huge skyscraper-length html output
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cmake-multi-platform.yml31
1 files changed, 28 insertions, 3 deletions
diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml
index 2191559..9ab157c 100644
--- a/.github/workflows/cmake-multi-platform.yml
+++ b/.github/workflows/cmake-multi-platform.yml
@@ -68,8 +68,8 @@ jobs:
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-DASAN=ON
-DTESTS=ON
- -DTESTS_VERBOSE=ON
-DTESTS_RT=ON
+ -DTESTS_VERBOSE=ON
-DDEBUG_MESSAGES=ON
-S ${{ github.workspace }}
@@ -78,7 +78,25 @@ jobs:
PKG_CONFIG_PATH: /opt/homebrew/lib/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
- - name: Test
+ - name: Test (Unit)
+ working-directory: ${{ steps.strings.outputs.build-output-dir }}
+ run: |
+ export ASAN_OPTIONS="verify_asan_link_order=0 strict_string_checks=1 detect_stack_use_after_return=1"
+ if [[ "$RUNNER_OS" == "macOS" ]]; then
+ ASAN_OPTIONS="$ASAN_OPTIONS detect_leaks=0"
+ else
+ ASAN_OPTIONS="$ASAN_OPTIONS detect_leaks=1"
+ fi
+ ctest --tests-regex '^test_.*' \
+ --build-config ${{ matrix.build_type }} \
+ --output-on-failure \
+ --output-junit results_unit.xml \
+ --test-output-size-passed 65536 \
+ --test-output-size-failed 65536
+ env:
+ STASIS_SYSCONFDIR: ../../..
+
+ - name: Test (RT)
working-directory: ${{ steps.strings.outputs.build-output-dir }}
run: |
export ASAN_OPTIONS="verify_asan_link_order=0 strict_string_checks=1 detect_stack_use_after_return=1"
@@ -87,6 +105,13 @@ jobs:
else
ASAN_OPTIONS="$ASAN_OPTIONS detect_leaks=1"
fi
- ctest --build-config ${{ matrix.build_type }} --output-on-failure --output-junit results.xml --test-output-size-passed 65536 --test-output-size-failed 65536
+ ctest --tests-regex '^rt_.*' \
+ -V \
+ --build-config ${{ matrix.build_type }} \
+ --output-junit results_rt.xml \
+ --test-output-size-passed 65536 \
+ --test-output-size-failed 65536
env:
STASIS_SYSCONFDIR: ../../..
+ STASIS_TEST_ALWAYS_SHOW_OUTPUT: 1
+ STASIS_TEST_ALWAYS_SHOW_INDEXER_OUTPUT: 0