File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments