Skip to content

Commit d9d8cb1

Browse files
Merge #302
302: TimescaleDB does support 14? r=JLockerman a=JLockerman Co-authored-by: Joshua Lockerman <[email protected]>
2 parents 6929474 + e9499e6 commit d9d8cb1

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,9 @@ jobs:
171171
run: |
172172
sudo -HEsu postgres sh -c "/usr/local/cargo/bin/cargo pgx stop pg14 && /usr/local/cargo/bin/cargo pgx start pg14"
173173
RUST_BACKTRACE=short cargo run --manifest-path ./tools/post-install/Cargo.toml /home/postgres/.pgx/14.0/pgx-install/bin/pg_config
174-
cargo run --manifest-path ./tools/testrunner/Cargo.toml -- -h localhost -p 28813
174+
cargo run --manifest-path ./tools/testrunner/Cargo.toml -- -h localhost -p 28814
175175
176-
# TODO These require TimescaleDB to support pg14
177-
# - name: Run Doc Tests
178-
# run: |
179-
# sudo -HEsu postgres sh -c "/usr/local/cargo/bin/cargo pgx stop pg14 && /usr/local/cargo/bin/cargo pgx start pg14"
180-
# sql-doctester -h localhost -s "CREATE EXTENSION timescaledb; CREATE EXTENSION timescaledb_toolkit; SET SESSION TIMEZONE TO 'UTC'" -p 28813 docs
176+
- name: Run Doc Tests
177+
run: |
178+
sudo -HEsu postgres sh -c "/usr/local/cargo/bin/cargo pgx stop pg14 && /usr/local/cargo/bin/cargo pgx start pg14"
179+
sql-doctester -h localhost -s "CREATE EXTENSION timescaledb; CREATE EXTENSION timescaledb_toolkit; SET SESSION TIMEZONE TO 'UTC'" -p 28814 docs

docker/ci/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ RUN set -ex \
4040
&& make -j4 \
4141
&& make -j4 install \
4242
&& echo "shared_preload_libraries = 'timescaledb'" >> ~/.pgx/data-13/postgresql.conf \
43+
&& cd .. \
44+
&& rm -rf ./build \
45+
&& ./bootstrap -DPG_CONFIG=~/.pgx/14.0/pgx-install/bin/pg_config -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DUSE_OPENSSL=false -DSEND_TELEMETRY_DEFAULT=false -DREGRESS_CHECKS=false \
46+
&& cd build \
47+
&& make -j4 \
48+
&& make -j4 install \
49+
&& echo "shared_preload_libraries = 'timescaledb'" >> ~/.pgx/data-14/postgresql.conf \
4350
&& cd ~ \
4451
&& rm -rf ~/timescaledb
4552

0 commit comments

Comments
 (0)