Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Nov 27, 2024
1 parent 70a5777 commit ed1801b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
dependencies: "highest"
- php-version: '8.1'
db-image: 'mariadb:latest'
platform: 'mariadb'
reflector: "mysqli"
mode: "recording"
dependencies: "highest"
Expand All @@ -60,6 +61,7 @@ jobs:
dependencies: "highest"
- php-version: '8.2'
db-image: 'mariadb:latest'
platform: 'mariadb'
reflector: "mysqli"
mode: "recording"
dependencies: "highest"
Expand All @@ -82,8 +84,7 @@ jobs:
dependencies: "highest"

env:
# github actions ternary, see https://7tonshark.com/posts/github-actions-ternary-operator/
DBA_PLATFORM: ${{ startsWith(matrix.db-image, 'mariadb') && 'mariadb' || 'mysql' }}
DBA_PLATFORM: ${{ matrix.platform }}
DBA_REFLECTOR: ${{ matrix.reflector }}
DBA_MODE: ${{ matrix.mode }}

Expand Down

0 comments on commit ed1801b

Please sign in to comment.