Skip to content

Commit

Permalink
Utilize matrix for texting multiple mysql versions (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
DZunke authored May 10, 2024
1 parent 6150f0e commit a60da9f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ name: PHP Tests
on: [push, pull_request]
jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
php: [ '8.2' ]
mysql-version: [ '5.7', '8.0', '8.4' ]

services:
mysql:
image: mysql:5.7
image: "mysql:${{ matrix.mysql-version }}"
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: mysqlreplication_test
ports:
- 3306/tcp

strategy:
matrix:
php: [ '8.2' ]

steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit a60da9f

Please sign in to comment.