diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c88419e..8d59e50 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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