Skip to content

Commit

Permalink
ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MatanYadaev committed Mar 13, 2024
1 parent 3310901 commit f8bb9ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ jobs:
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
- name: Set DB_CONNECTION env variable
- name: Set DB_CONNECTION env variable (PostGIS)
if: contains(matrix.db, 'postgis')
run: echo "DB_CONNECTION=pgsql" >> "$GITHUB_ENV"

- name: Set DB_CONNECTION env variable
- name: Set DB_CONNECTION env variable (MariaDB & Laravel 11)
if: contains(matrix.laravel, '11') && contains(matrix.db, 'mariadb')
run: echo "DB_CONNECTION=maria" >> "$GITHUB_ENV"

- name: Set DB_CONNECTION env variable
- name: Set DB_CONNECTION env variable (Rest)
if: !contains(matrix.db, 'postgis') || (!contains(matrix.laravel, '11') && !contains(matrix.db, 'mariadb'))
run: echo "DB_CONNECTION=mysql" >> "$GITHUB_ENV"

Expand Down

0 comments on commit f8bb9ce

Please sign in to comment.