Skip to content

support multiline values in backticks #26

support multiline values in backticks

support multiline values in backticks #26

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
paths-ignore:
- '**.md'
push:
paths-ignore:
- '**.md'
jobs:
run:
name: Run
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
php-versions: ['7.4', '8.0', '8.1', '8.2']
env:
OS: ${{ matrix.os }}
PHP_VERSION: ${{ matrix.php-versions }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup PHP ${{ matrix.php-versions }} with composer v2
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: composer:v2
coverage: xdebug
- name: Testing PHP version
run: |
php -v
php -r "if(strpos(phpversion(), '${{ matrix.php-versions }}') === false) {throw new Exception('Wrong PHP version Installed');}"
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run test suite
run: composer run-script test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
env_vars: OS,PHP_VERSION
files: ./coverage.xml
flags: unittests
verbose: true