Skip to content

Commit

Permalink
implement ReplayAndRecordingQueryReflector (#311)
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Staab <m.staab@complex-it.de>
  • Loading branch information
staabm and clxmstaab authored Feb 21, 2022
1 parent 951e111 commit 82c9041
Show file tree
Hide file tree
Showing 32 changed files with 692 additions and 2,176 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,29 @@ jobs:
- php-version: "8.0"
db-image: 'mysql:8.0'
reflector: "pdo"
mode: "recording"
- php-version: "8.0"
db-image: 'mysql:8.0'
reflector: "mysqli"
mode: "recording"

- php-version: "8.1"
db-image: 'mysql:8.0'
reflector: "mysqli"
mode: "recording"
- php-version: '8.1'
db-image: 'mariadb:latest'
reflector: "mysqli"
mode: "recording"

- php-version: "8.1"
db-image: 'mysql:8.0'
reflector: "mysqli"
mode: "replay-and-recording"

env:
DBA_REFLECTOR: ${{ matrix.reflector }}
DBA_MODE: ${{ matrix.mode }}

# https://docs.github.com/en/free-pro-team@latest/actions/guides/about-service-containers
services:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,29 @@ jobs:
- php-version: "8.0"
db-image: 'mysql:8.0'
reflector: "pdo"
mode: "recording"
- php-version: "8.0"
db-image: 'mysql:8.0'
reflector: "mysqli"
mode: "recording"

- php-version: "8.1"
db-image: 'mysql:8.0'
reflector: "mysqli"
mode: "recording"
- php-version: '8.1'
db-image: 'mariadb:latest'
reflector: "mysqli"
mode: "recording"

- php-version: "8.1"
db-image: 'mysql:8.0'
reflector: "pdo"
mode: "replay-and-recording"

env:
DBA_REFLECTOR: ${{ matrix.reflector }}
DBA_MODE: ${{ matrix.mode }}

# https://docs.github.com/en/free-pro-team@latest/actions/guides/about-service-containers
services:
Expand Down
Loading

0 comments on commit 82c9041

Please sign in to comment.