Skip to content

Commit

Permalink
CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonymakarewicz committed Jul 15, 2024
1 parent e300368 commit 978fab5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cmake-version: '3.26.3'

- name: Install dependencies
run: sudo apt-get install -y libgtest-dev
run: sudo apt-get install -y libgtest-dev libgmock-dev

- name: Configure CMake
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ add_executable(Option_tester
mock_classes.h)

# Link Google Test and Google Mock to the test executable
target_link_libraries(Option_tester GTest::GTest GTest::Main GTest::GMock)
target_link_libraries(Option_tester GTest::GTest GTest::Main GTest::gmock_main)

# Optionally, register tests with CMake's testing system
add_test(NAME OptionTester COMMAND Option_tester)

0 comments on commit 978fab5

Please sign in to comment.