PHP Classes

File: .github/workflows/ci.yml

Recommend this page to a friend!
  Classes of Scott Arciszewski   EasyDB   .github/workflows/ci.yml   Download  
File: .github/workflows/ci.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: EasyDB
Simple Database Abstraction Layer around PDO
Author: By
Last change: Require PHP 8+
Cleanup Github Actions
Use Composer 2.2 for PHP < 7.4
Update GitHub Actions for 2022

- Remove PHP 7.0 from matrix since it's stalling
- Add PHP 8.1 to matrix
Date: 1 year ago
Size: 881 bytes
 

Contents

Class file image Download
name: CI on: [push] jobs: modern: name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }} strategy: matrix: operating-system: ['ubuntu-latest'] php-versions: ['8.0', '8.1'] phpunit-versions: ['latest'] steps: - name: Checkout uses: actions/checkout@v2 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} extensions: mbstring, intl, sodium ini-values: post_max_size=256M, max_execution_time=180 tools: psalm, phpunit:${{ matrix.phpunit-versions }} - name: Install dependencies run: composer install - name: PHPUnit tests uses: php-actions/phpunit@v2 timeout-minutes: 30 with: memory_limit: 256M