Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Jul 11, 2024
1 parent a10cf64 commit dbfaee5
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ jobs:
strategy:
fail-fast: false
matrix:
debian-version: [ '11', '12' ]
sqlalchemy-version: [ '1.4' ]
debian-version: ['11', '12']
sqlalchemy-version: ['1.4']
include:
- debian-version: "11"
python-version: "3.9"
postgres-version: "13"
postgis-version: "3.2"
- debian-version: "12"
python-version: "3.11"
postgres-version: "15"
postgis-version: "3.3"
- debian-version: '11'
python-version: '3.9'
postgres-version: '13'
postgis-version: '3.2'
- debian-version: '12'
python-version: '3.11'
postgres-version: '15'
postgis-version: '3.3'

name: Debian ${{ matrix.debian-version}} - SQLAlchemy ${{ matrix.sqlalchemy-version }}

env:
REF_GEO_SQLALCHEMY_DATABASE_URI: "postgresql://geouser:[email protected]:5432/refgeo"
REF_GEO_SQLALCHEMY_DATABASE_URI: 'postgresql://geouser:[email protected]:5432/refgeo'

services:
postgres:
Expand All @@ -56,7 +56,8 @@ jobs:
psql -h localhost -U geouser -d refgeo -tc 'CREATE EXTENSION "hstore";'
psql -h localhost -U geouser -d refgeo -tc 'CREATE EXTENSION "uuid-ossp";'
psql -h localhost -U geouser -d refgeo -tc 'CREATE EXTENSION "pg_trgm";'
psql -h localhost -U geouser -d refgeo -tc 'CREATE EXTENSION "unaccent";'
psql -h localhost -U geouser -d refgeo -tc 'CREATE EXTENSION "unaccent";
psql -h localhost -U geouser -d refgeo -tc 'CREATE EXTENSION "postgis";
env:
PGPASSWORD: geopasswd
- uses: actions/checkout@v3
Expand All @@ -66,7 +67,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache: 'pip'
- name: Install GDAL
run: |
sudo apt update
Expand Down

0 comments on commit dbfaee5

Please sign in to comment.