Skip to content

Fixed parsing multiple PHP8 attributes in single line #93

Fixed parsing multiple PHP8 attributes in single line

Fixed parsing multiple PHP8 attributes in single line #93

Workflow file for this run

name: "Build"
on:
pull_request:
push:
branches:
- "dev"
- "master"
jobs:
build:
name: PHP ${{ matrix.php-versions }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
steps:
- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
extensions: intl
php-version: "${{ matrix.php-versions }}"
coverage: xdebug
- name: Checkout
uses: actions/checkout@v3
- name: "Install dependencies"
run: "composer install --no-interaction"
- name: "CS Check"
run: "vendor/bin/phpcs"
- name: "Rector Check"
run: "vendor/bin/rector --dry-run"
- name: "Run test suite"
run: "bin/kahlan --config=kahlan-config-github-action.php --clover=clover.xml"
- name: Upload coverage to Codecov
if: matrix.php-versions == '7.4' && github.event.pull_request.head.repo.full_name == 'kahlan/kahlan'
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./clover.xml
flags: tests
name: codecov-umbrella
yml: ./codecov.yml
fail_ci_if_error: true