Skip to content

Commit

Permalink
Add Github Actions
Browse files Browse the repository at this point in the history
I did not see any inspections. This will add PHPUnit inspections for PHP versions 7.1, 7.2, 7.3, 7.4 and 8.0
  • Loading branch information
timoschinkel authored and sergkash7 committed Mar 17, 2021
1 parent 87c6ca2 commit fbe7127
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Inspections

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0']
name: PHP ${{ matrix.php-versions }}

steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Unit tests
run: ./vendor/bin/phpunit

0 comments on commit fbe7127

Please sign in to comment.