Skip to content

Commit

Permalink
Test on postgres sql
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsykun committed Dec 2, 2023
1 parent 1c44a4b commit 2ff42e2
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,15 @@ jobs:
strategy:
fail-fast: false
matrix:
redis: ['6']
driver: ['sqlite']
include:
- php: '8.1'
# - php: '8.2'
# driver: 'mysql'
driver: 'sqlite'
redis: 6
- php: '8.3'
redis: '7'
driver: 'pgsql'
redis: 7
symfony: '7.0.*'
name: PHP ${{ matrix.php }} SYMFONY ${{ matrix.symfony }} - ${{ matrix.driver }}
name: PHP ${{ matrix.php }} - ${{ matrix.driver }} SF ${{ matrix.symfony }}
runs-on: ubuntu-20.04

steps:
Expand All @@ -47,6 +46,12 @@ jobs:
php-version: ${{ matrix.php }}
tools: composer

- name: "Install Postgres"
if: ${{ matrix.driver=='pgsql' }}
uses: harmon758/postgresql-action@v1
with:
postgresql version: '14'

- name: "Install dependencies"
# temporary workaround to support Symfony 7.0 in tests.
run: |
Expand Down

0 comments on commit 2ff42e2

Please sign in to comment.