Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5986bc6

Browse files
committed
drop extension
1 parent99a431b commit5986bc6

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,22 @@ jobs:
5656
~/.cargo
5757
pgml-extension/target
5858
~/.pgrx
59-
key:${{ runner.os }}-rust-1.74-${{ hashFiles('pgml-extension/Cargo.lock') }}-bust1
60-
-name:Update extension
59+
key:${{ runner.os }}-rust-1.74-${{ hashFiles('pgml-extension/Cargo.lock') }}
60+
-name:Update extension test
6161
if:steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'
6262
run:|
6363
git checkout origin/master
6464
echo "\q" | cargo pgrx run
65+
psql -p 28816 -h localhost -d pgml -P pager -c "DROP EXTENSION IF EXISTS pgml CASCADE;"
6566
psql -p 28816 -h localhost -d pgml -P pager -c "CREATE EXTENSION pgml;"
6667
git checkout $GITHUB_SHA
6768
echo "\q" | cargo pgrx run
6869
psql -p 28816 -h localhost -d pgml -P pager -c "ALTER EXTENSION pgml UPDATE;"
6970
-name:Unit tests
70-
env:
71-
CI_BRANCH:${{ steps.current_version.outputs.CI_BRANCH }}
7271
if:steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'
7372
run:|
7473
cargo pgrx test
7574
-name:Integration tests
76-
env:
77-
CI_BRANCH:${{ steps.current_version.outputs.CI_BRANCH }}
7875
if:steps.pgml_extension_changed.outputs.PGML_EXTENSION_CHANGED_FILES != '0'
7976
run:|
8077
cargo pgrx start

‎pgml-extension/tests/test.sql‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
--- Usage:
55
---
66
--- $ cargo pgrx run --release
7-
--- $ psql -h localhost -p28815 -d pgml -f tests/test.sql -P pager
7+
--- $ psql -h localhost -p28816 -d pgml -f tests/test.sql -P pager
88
---
99
\set ON_ERROR_STOP true
1010
\timingon

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp