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
This commit is contained in:
Nimrod Gileadi
2022-08-04 15:04:44 -07:00
committed by Copybara-Service
parent 760816ae18
commit 5ee184ddaa
+1 -1
View File
@@ -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 .