Skip to content

Merge pull request #198 from JAK0TA/fix_youtube_thumbnail #281

Merge pull request #198 from JAK0TA/fix_youtube_thumbnail

Merge pull request #198 from JAK0TA/fix_youtube_thumbnail #281

Workflow file for this run

name: Continuous Integration
on: [ push, pull_request ]
jobs:
ci:
name: Suite to run
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- 7.4
- 8.0
steps:
- name: Configure PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
ini-values: memory_limit=-1, error_reporting=E_ALL, display_errors=On
php-version: ${{ matrix.php-version }}
- name: Checkout
uses: actions/checkout@v3
- name: "Cache dependencies installed with composer"
uses: actions/cache@v1
with:
path: ~/.composer/cache
key: php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: |
php${{ matrix.php-version }}-composer-
- name: Install Composer dependencies
run: composer install --no-progress
- name: Run PHP Code Sniffer
run: composer run php:cs-fixer
- name: Run PHP Unit tests
run: composer run php:unittests