Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/linux-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ jobs:
for ext in ${{ matrix.pg_extensions }}; do
make -C contrib/${ext} install
done
make install-tests
echo "$HOME/$PG_INSTALL_DIR/bin" >> "${GITHUB_PATH}"

- name: Upload config.log
Expand Down
7 changes: 2 additions & 5 deletions test/pgtest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@ endforeach(IGNORE_TEST)
# Write the final test schedule
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/schedule ${PG_TEST_SCHEDULE})

# Need --dlpath set to PostgreSQL's test directory so that the tests can load
# libraries there
set(PG_REGRESS_OPTS_PGTEST
--schedule=${CMAKE_CURRENT_BINARY_DIR}/schedule
--load-extension=timescaledb --dlpath=${PG_REGRESS_DIR})
set(PG_REGRESS_OPTS_PGTEST --schedule=${CMAKE_CURRENT_BINARY_DIR}/schedule
--load-extension=timescaledb)

add_custom_target(
pginstallcheck
Expand Down
2 changes: 1 addition & 1 deletion test/test-defs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ file(
NO_SOURCE_PERMISSIONS
FILE_PERMISSIONS OWNER_READ OWNER_WRITE)

set(PG_REGRESS_OPTS_BASE --dlpath=${PROJECT_BINARY_DIR}/src)
set(PG_REGRESS_OPTS_BASE)

set(PG_REGRESS_OPTS_EXTRA
--create-role=${TEST_ROLE_SUPERUSER},${TEST_ROLE_DEFAULT_PERM_USER},${TEST_ROLE_DEFAULT_PERM_USER_2},${TEST_ROLE_1},${TEST_ROLE_2},${TEST_ROLE_3},${TEST_ROLE_4},${TEST_ROLE_READ_ONLY}
Expand Down
Loading