Skip to content

Commit

Permalink
Resolves issue #1216
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Jun 18, 2022
1 parent 31a5513 commit 6086a27
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build

on: [push, pull_request]

jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}

steps:
- name: Checkout
uses: actions/checkout@v1

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, intl, zip, xml
coverage: none

- name: Install dependencies
run: composer install

- name: Update PHPUnit
run: composer update phpunit/phpunit --with-dependencies

- name: Run test suite
run: vendor/bin/phpunit --exclude-group mayignore --coverage-clover build/logs/clover.xml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/vendor
.phpbrew
.phpcs.cache
/build

0 comments on commit 6086a27

Please sign in to comment.