Browse Source

CI (MSYS2): Re-run failed tests verbosely.

tags/v0.3.24
Markus Mützel 3 years ago
parent
commit
1c3fcaaf42
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      .github/workflows/dynamic_arch.yml

+ 13
- 0
.github/workflows/dynamic_arch.yml View File

@@ -287,9 +287,22 @@ jobs:
key: ${{ steps.ccache-prepare.outputs.key }}

- name: Run tests
id: run-ctest
timeout-minutes: 60
run: cd build && ctest

- name: Re-run tests
if: always() && (steps.run-ctest.outcome == 'failure')
timeout-minutes: 60
run: |
cd build
echo "::group::Re-run ctest"
ctest --rerun-failed --output-on-failure || true
echo "::endgroup::"
echo "::group::Log from these tests"
[ ! -f Testing/Temporary/LastTest.log ] || cat Testing/Temporary/LastTest.log
echo "::endgroup::"


cross_build:
runs-on: ubuntu-22.04


Loading…
Cancel
Save