Skip to content

Commit

Permalink
Run unit test in Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanePiskorskiSF committed Jan 9, 2024
1 parent 59cdae0 commit c9cb560
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: git submodule update --init --recursive

- name: Install dependencies
run: sudo apt install libgps-dev libnl-genl-3-dev
run: sudo apt install libgps-dev libnl-genl-3-dev libgtest-dev

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand All @@ -36,9 +36,9 @@ jobs:
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

# - name: Test
# working-directory: ${{github.workspace}}/build
- name: Test
working-directory: ${{github.workspace}}/build
# 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: ctest -C ${{env.BUILD_TYPE}}

0 comments on commit c9cb560

Please sign in to comment.