Fix recursive time tracking #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build statsd-php | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: statsd-php (PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }}) | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
fail-fast: false | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: ['7.3', '7.4', '8.0'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Setup PHP, with composer and extensions | |
uses: shivammathur/setup-php@v1 #https://github.com/shivammathur/setup-php | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: mbstring | |
coverage: xdebug #optional | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress --no-suggest --no-interaction | |
- name: phpcs | |
run: vendor/bin/php-cs-fixer fix --diff --dry-run -v | |
- name: psalm | |
run: vendor/bin/psalm --show-info=false | |
- name: phpunit | |
run: vendor/bin/phpunit |