From 5ee184ddaa1d721a615d07415a8211e9f81673d1 Mon Sep 17 00:00:00 2001 From: Nimrod Gileadi Date: Thu, 4 Aug 2022 15:04:44 -0700 Subject: [PATCH] Add --output-on-failure to ctest invocation on GH Actions. See https://cmake.org/cmake/help/latest/manual/ctest.1.html PiperOrigin-RevId: 465414085 Change-Id: Ia8f8da532193cced535bb813cdd66ae48005f91d --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ebddd0a..29d56463 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -138,7 +138,7 @@ jobs: run: cmake --build . --config=Release ${{ matrix.cmake_build_args }} - name: Test MuJoCo working-directory: build - run: ctest -C Release . + run: ctest -C Release --output-on-failure . - name: Install MuJoCo working-directory: build run: cmake --install .