Skip to content

update CS Fixer manifest #14

update CS Fixer manifest

update CS Fixer manifest #14

Workflow file for this run

---
name: build
on: [ push, pull_request ]
jobs:
test:
name: Running tests on ${{ matrix.php }} ${{ matrix.composer-flags }}
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]
composer-flags: [ '' ]
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php }}
tools: composer:v2
- name: Validate composer manifest
run: composer validate --strict
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest ${{ matrix.composer-flags }}
- name: Analyse and test code
run: composer run-script test
coverage:
needs: [ test ]
name: Publish test coverage to Code Climate
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: '7.4'
coverage: xdebug
tools: composer:v2
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest ${{ matrix.composer-flags }}
- name: Test & publish code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_REPORTER_ID }}
with:
coverageCommand: composer test-coverage