You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare # Just installs PHP and dependencieswith:
token: ${{ secrets.GH_TOKEN }}
- uses: ikalnytskyi/action-setup-postgres@v7id: postgres
- env:
PGSERVICE: ${{ steps.postgres.outputs.service-name }}run: | createuser username createdb --owner username postgres_tests psql -c "ALTER USER username WITH PASSWORD 'password'" psql -c "ALTER USER username WITH SUPERUSER;"
- name: Run testsenv:
DB_CONNECTION: pgsqlDB_DATABASE: postgres_testsDB_PORT: 5432DB_USERNAME: usernameDB_PASSWORD: passwordrun: php artisan test
It still says PDOException: SQLSTATE[42704]: Undefined object: 7 ERROR: type "geometry" does not exist which means PostGIS is not available in PostgreSQL. Any ideas how to fix this? When running CREATE EXTENSION postgis, I'm getting an error:
ERROR: extension "postgis" is not available
DETAIL: Could not open extension control file "/usr/share/postgresql/[17](https://github.com/.../.../actions/runs/12208658718/job/34061268966?pr=549#step:5:18)/extension/postgis.control": No such file or directory.
HINT: The extension must first be installed on the system where PostgreSQL is running.
Error: Process completed with exit code 1.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
It still says
PDOException: SQLSTATE[42704]: Undefined object: 7 ERROR: type "geometry" does not exist
which means PostGIS is not available in PostgreSQL. Any ideas how to fix this? When runningCREATE EXTENSION postgis
, I'm getting an error:Thanks in advance.
The text was updated successfully, but these errors were encountered: