PHP Classes

File: .github/workflows/ci.yml

Recommend this page to a friend!
  Classes of Scott Arciszewski   Chronicle   .github/workflows/ci.yml   Download  
File: .github/workflows/ci.yml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Chronicle
Append arbitrary data to a storage container
Author: By
Last change:
Date: 1 year ago
Size: 2,146 bytes
 

Contents

Class file image Download
name: CI on: [push] jobs: moderate: name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }} strategy: matrix: operating-system: ['ubuntu-latest'] php-versions: ['7.1', '7.2', '7.3'] 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, sqlite ini-values: post_max_size=256M, max_execution_time=180 tools: psalm, phpunit:${{ matrix.phpunit-versions }} - name: Fix permissions run: sudo chmod -R 0777 . - name: Install dependencies run: composer install - name: Setup (keygen, etc.) run: php bin/install.php; php bin/make-tables.php - name: PHPUnit tests uses: php-actions/phpunit@v2 timeout-minutes: 30 with: memory_limit: 256M modern: name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }} strategy: matrix: operating-system: ['ubuntu-latest'] php-versions: ['7.4', '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, sqlite ini-values: post_max_size=256M, max_execution_time=180 tools: psalm, phpunit:${{ matrix.phpunit-versions }} - name: Fix permissions run: sudo chmod -R 0777 . - name: Install dependencies run: composer install - name: Setup (keygen, etc.) run: php bin/install.php; php bin/make-tables.php - name: PHPUnit tests uses: php-actions/phpunit@v2 timeout-minutes: 30 with: memory_limit: 256M - name: Static Analysis run: vendor/bin/psalm