From 93487c5e58c2d97a442c8c439ddd3b0e6f0956a6 Mon Sep 17 00:00:00 2001 From: Giulio M <1172898+giuliom@users.noreply.github.com> Date: Tue, 23 Jul 2024 15:15:16 +0100 Subject: [PATCH] Update CI.yml test job --- .github/workflows/CI.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 58cac83..79546f5 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -53,8 +53,10 @@ jobs: run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - name: Test - working-directory: ${{github.workspace}}/BasicRenderer/build + working-directory: ${{github.workspace}}/BasicRenderer # Execute tests defined by the CMake configuration. # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail - run: ctest -C ${{env.BUILD_TYPE}} + run: | + cd build + ctest -C ${{env.BUILD_TYPE}}