From a80fe71620637793504b1fad1157b87ba34b9ee5 Mon Sep 17 00:00:00 2001 From: scawful Date: Tue, 14 Oct 2025 13:32:24 -0400 Subject: [PATCH] refactor(ci): update test result handling in CI workflows - Replaced references to core and additional tests with stable and experimental tests in the CI configuration. - Adjusted the logic for summarizing test outcomes to reflect the new test categories. - Updated the paths for test result files to ensure accurate reporting. Benefits: - Improves clarity and accuracy in CI test reporting, aligning with the new test structure. --- .github/workflows/ci.yml | 25 +++++++++++++------------ .github/workflows/release.yml | 2 -- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3bc1dc0..bb52ceaa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -631,9 +631,10 @@ jobs: name: test-results-${{ matrix.name }} path: | build/*test_results.xml - core_test.log - additional_test.log + stable_test.log + experimental_test.log retention-days: 7 + if-no-files-found: ignore - name: Upload Build Logs on Failure if: failure() @@ -695,18 +696,18 @@ jobs: echo "- ❌ Build: Failed" >> $GITHUB_STEP_SUMMARY fi - if [[ "${{ steps.test_core.outcome }}" == "success" ]]; then - echo "- ✅ Core Tests: Passed" >> $GITHUB_STEP_SUMMARY + if [[ "${{ steps.test_stable.outcome }}" == "success" ]]; then + echo "- ✅ Stable Tests: Passed" >> $GITHUB_STEP_SUMMARY else - echo "- ❌ Core Tests: Failed" >> $GITHUB_STEP_SUMMARY + echo "- ❌ Stable Tests: Failed" >> $GITHUB_STEP_SUMMARY fi - if [[ "${{ steps.test_additional.outcome }}" == "success" ]]; then - echo "- ✅ Additional Tests: Passed" >> $GITHUB_STEP_SUMMARY - elif [[ "${{ steps.test_additional.outcome }}" == "failure" ]]; then - echo "- ⚠️ Additional Tests: Failed (informational)" >> $GITHUB_STEP_SUMMARY + if [[ "${{ steps.test_experimental.outcome }}" == "success" ]]; then + echo "- ✅ Experimental Tests: Passed" >> $GITHUB_STEP_SUMMARY + elif [[ "${{ steps.test_experimental.outcome }}" == "failure" ]]; then + echo "- ⚠️ Experimental Tests: Failed (informational)" >> $GITHUB_STEP_SUMMARY else - echo "- ⏭️ Additional Tests: Skipped" >> $GITHUB_STEP_SUMMARY + echo "- ⏭️ Experimental Tests: Skipped" >> $GITHUB_STEP_SUMMARY fi echo "" >> $GITHUB_STEP_SUMMARY @@ -720,10 +721,10 @@ jobs: fi # Test results - if [ -f build/core_test_results.xml ]; then + if [ -f build/stable_test_results.xml ]; then echo "### Test Results" >> $GITHUB_STEP_SUMMARY echo '```' >> $GITHUB_STEP_SUMMARY - grep -E "tests=|failures=|errors=" build/core_test_results.xml | head -1 || echo "Test summary not available" + grep -E "tests=|failures=|errors=" build/stable_test_results.xml | head -1 || echo "Test summary not available" echo '```' >> $GITHUB_STEP_SUMMARY fi diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab89a651..f3a6e0bd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,3 @@ -# .github/workflows/release.yml - name: Release on: