File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 2525 PG_BRANCH : ${{ format('REL_{0}_STABLE', matrix.pg_version) }}
2626
2727 steps :
28- # Get Postgres sources
28+ # Get Postgres sources
2929 - name : Checkout PostgreSQL
3030 uses : actions/checkout@v3
3131 with :
@@ -36,11 +36,13 @@ jobs:
3636 # Get extension
3737 - name : Checkout shared_ispell
3838 uses : actions/checkout@v3
39+ with :
40+ path : shared_ispell
3941
4042 # Install Postgres
4143 - name : Install PostgreSQL
4244 run : |
43- make -C postgres install-world-bin prefix=$HOME/pgsql
45+ make -C postgres install-world prefix=$HOME/pgsql
4446 echo "$HOME/pgsql/bin" >> $GITHUB_PATH
4547
4648 # Set PG_CONFIG
5860 - name : Build (automake)
5961 if : matrix.build == 'automake'
6062 run : |
63+ cd shared_ispell
6164 make USE_PGXS=1
6265 make USE_PGXS=1 install
6366
@@ -71,12 +74,12 @@ jobs:
7174 meson install -C builddir
7275
7376 # Create extension + run tests
74- - name : Run SQL tests
77+ - name : Check create extension
7578 run : |
79+ cd shared_ispell
7680 createdb test
7781 psql -d test -c "CREATE EXTENSION shared_ispell;"
7882
79- for f in sql/*.sql; do
80- echo "Running $f"
81- psql -d test -f "$f"
82- done
83+ - name : Run tests
84+ run : |
85+ make -C shared_ispell USE_PGXS=1 installcheck
You can’t perform that action at this time.
0 commit comments