Skip to content

Commit

Permalink
GitHub actions (#109)
Browse files Browse the repository at this point in the history
Add github actions
  • Loading branch information
Tucker-Eric authored Nov 9, 2019
1 parent 94f2be5 commit 1b18d6c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: PHPUnit

on: [push, pull_request]

jobs:
test:

runs-on: ubuntu-latest
strategy:
matrix:
php: [5.6, 7.0, 7.1, 7.2, 7.3]

steps:
- uses: actions/checkout@v1

- name: Validate composer.json and composer.lock
run: composer validate

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

- name: Run test suite
run: vendor/bin/phpunit
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
[![License](https://poser.pugx.org/tucker-eric/eloquentfilter/license)](https://packagist.org/packages/tucker-eric/eloquentfilter)
[![StyleCI](https://styleci.io/repos/53163405/shield)](https://styleci.io/repos/53163405/)
[![Build Status](https://travis-ci.org/Tucker-Eric/EloquentFilter.svg?branch=master)](https://travis-ci.org/Tucker-Eric/EloquentFilter)
![PHPUnit Status](https://github.com/Tucker-Eric/EloquentFilter/workflows/PHPUnit/badge.svg?branch=master)

An Eloquent way to filter Eloquent Models and their relationships

Expand Down

0 comments on commit 1b18d6c

Please sign in to comment.