3 on: [push, pull_request]
13 MYSQL_ALLOW_EMPTY_PASSWORD: true
14 MYSQL_DATABASE: codeception_test
18 --health-cmd "mysqladmin ping"
25 POSTGRES_PASSWORD: postgres
26 POSTGRES_DB: codeception_test
28 --health-cmd pg_isready
37 php: [5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0]
41 uses: actions/checkout@v2
44 uses: shivammathur/setup-php@v2
46 php-version: ${{ matrix.php }}
47 extensions: pdo, pgsql, mysql, sqlite
50 - name: Validate composer.json and composer.lock
51 run: composer validate
53 - name: Install dependencies
54 run: composer install --prefer-dist --no-progress --no-interaction --no-suggest
56 - name: Run test suite
57 run: php vendor/bin/codecept run