Skip to content

Поля лога приведены к требуемому виду #14

Поля лога приведены к требуемому виду

Поля лога приведены к требуемому виду #14

Workflow file for this run

name: CI
on:
pull_request:
branches: [ master ]
jobs:
build:
name: PHP ${{ matrix.php }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
php:
- 8.0
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
extensions: imagick, pdo_pgsql, opcache
ini-values: opcache.enable=1, opcache.enable_cli=1, apc.enable_cli=1
env:
COMPOSER_TOKEN: ${{ secrets.COMPOSER_GITHUB_TOKEN }}
- name: Check php and composer
run: php -v && composer --version
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache composer dependencies
uses: actions/cache@v1
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install composer dependencies
run: composer install
- name: Run tests
run: vendor/bin/codecept run
env:
COMPOSER_TOKEN: ${{ secrets.COMPOSER_GITHUB_TOKEN }}