PHP Classes

File: .github/workflows/tests.yml

Recommend this page to a friend!
  Classes of Kacper Rowinski   PHP MySQL Replication   .github/workflows/tests.yml   Download  
File: .github/workflows/tests.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP MySQL Replication
Client to get MySQL replication events in pure PHP
Author: By
Last change: Run tests with multiple php and mysql versions (#136)

* Updating workflow

* Add query for MySQL 8.4
Fix cache action version in ci (#135)

Utilize matrix for texting multiple mysql versions (#119)

Implement rows query event from mysql (#112)

New release (#104)

* - Change: drop support for < 8.2
- Change: moved to enums, promoted properties
- Added: logger for more socket info
- Added: slave_uuid support
- Change: config no longer static
- Chore: typos in README/code
- Chore: replace/remove old urls from code
- Chore: changed variables to underscore
- Added: support caching_sha2_password
- Change: BinLogServerInfo static calls removed also added method getServerInfo to MySQLReplicationFactory
Date: 1 month ago
Size: 1,482 bytes
 

 

Contents

Class file image Download
name: PHP Tests on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: php: [ '8.2', '8.3', '8.4' ] mysql-version: [ '5.7', '8.0', '8.4' ] steps: - name: Checkout uses: actions/checkout@v2 - uses: shogo82148/actions-setup-mysql@v1 with: mysql-version: "${{ matrix.mysql-version }}" my-cnf: | server-id=1 binlog_format=row binlog_rows_query_log_events=ON log_bin=binlog root-password: root - name: set up timezones run: mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql -proot - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} coverage: xdebug - name: Validate composer.json and composer.lock run: composer validate - name: Cache Composer packages id: composer-cache uses: actions/cache@v4 with: path: vendor key: ${{ runner.os }}-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }} restore-keys: | ${{ runner.os }}-${{ matrix.php }}- - name: Install dependencies if: steps.composer-cache.outputs.cache-hit != 'true' run: composer install --prefer-dist --no-progress --no-suggest - name: Run tests run: vendor/bin/phpunit --coverage-text