Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.coveralls.yml export-ignore
.gitattributes export-ignore
.github/ export-ignore
.gitignore export-ignore
.travis.yml export-ignore
composer.json export-ignore
phpunit.xml.dist export-ignore
tests export-ignore
35 changes: 35 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: PHP Composer

on:
push:
pull_request:

jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"

name: PHP ${{ matrix.php-versions }} test
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP with XDebug
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
coverage: xdebug
tools: composer

- name: Install dependencies
run: composer install --prefer-dist --no-progress

- name: Run tests
run: composer test