Allow testing on forks

Currently testing will only run on pushes to main. This change
allows testing on any branch which simplfies testing for forks.
This commit is contained in:
Juan Ramos 2024-10-23 16:04:50 -07:00
parent 607753a657
commit 2c1a9fca22
4 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,6 @@ concurrency:
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

View File

@ -6,7 +6,6 @@ concurrency:
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

View File

@ -1,7 +1,6 @@
name: CI_iOS
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

View File

@ -20,6 +20,8 @@ include(FetchContent)
FetchContent_Declare(googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG 1b18723e874b256c1e39378c6774a90701d70f7a)
set(INSTALL_GTEST OFF CACHE BOOL "" FORCE)
set(BUILD_GMOCK OFF CACHE BOOL "" FORCE)
# For Windows: Prevent overriding the parent project's compiler/linker settings
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)