Skip to content

Commit

Permalink
stricter checks in db
Browse files Browse the repository at this point in the history
  • Loading branch information
Murazaki committed Feb 11, 2025
1 parent 503afcb commit 1fbab29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Install database client
run: |
apt-get update
apt-get install -y --no-install-recommends ${{ matrix.db_type == 'postgres' && 'postgresql' || 'default-mysql' }}-client
apt-get install -y --no-install-recommends ${{ matrix.db_type == 'postgres' && 'postgresql' || (matrix.db_type == 'mysql' && 'default-mysql' || 'mariadb') }}-client
- name: Install PHP extensions
run: |
Expand All @@ -142,7 +142,7 @@ jobs:
run: |
cp .env.testing .env
dottie set DB_CONNECTION=${{ matrix.db_type == 'postgres' && 'pgsql' || 'mysql' }}
dottie set DB_CONNECTION=${{ matrix.db_type == 'postgres' && 'pgsql' || (matrix.db_type == 'mysql' && 'mysql' || 'mariadb') }}
dottie set DB_HOST=db
dottie set DB_PORT=${{ matrix.db_type == 'postgres' && '5432' || '3306' }}
dottie set DB_DATABASE=pixelfed
Expand Down

0 comments on commit 1fbab29

Please sign in to comment.