Add framework for executing tests against multiple postgresql versions using docker compose.
This commit is contained in:
parent
655c6fceb1
commit
c3bf9e88e4
13 changed files with 457 additions and 0 deletions
21
tests/pgintegration/CMakeLists.txt
Normal file
21
tests/pgintegration/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
add_library(pgintegration STATIC
|
||||
PgTestEnvironment.h
|
||||
PgTestEnvironment.cpp
|
||||
DbTest.h
|
||||
DbTest.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(pgintegration PUBLIC
|
||||
pgsql
|
||||
GTest::gtest
|
||||
Qt6::Core
|
||||
)
|
||||
|
||||
target_include_directories(pgintegration PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
set_target_properties(pgintegration PROPERTIES
|
||||
CXX_STANDARD 20
|
||||
CXX_STANDARD_REQUIRED ON
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue