Skip to content

Commit

Permalink
Merge pull request #64 from donatj/actions-test
Browse files Browse the repository at this point in the history
Adds ci.yml
  • Loading branch information
donatj authored Apr 23, 2020
2 parents b355111 + 110c18f commit 9ebe8bf
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
- pull_request
- push

name: CI

jobs:
run:
name: Tests

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']

runs-on: ${{ matrix.operating-system }}

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

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: sockets, json, curl

- name: Install dependencies with composer
run: composer install

- name: Test with phpunit
run: vendor/bin/phpunit --coverage-text

0 comments on commit 9ebe8bf

Please sign in to comment.