Skip to content

Commit

Permalink
ci(github-actions): Setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ckrack committed May 26, 2020
1 parent 47eee5f commit fbdff53
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: QA

on: [push, pull_request]

jobs:
build:
name: PHP ${{ matrix.php }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
php: [ 7.4 ]
os: [ ubuntu-latest ]
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php }}

- name: Composer
uses: php-actions/composer@master

- name: PHP spec
uses: php-actions/phpspec@master
with:
config: phpspec.yml.dist
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
composer.lock
vendor/
.php_cs.cache

0 comments on commit fbdff53

Please sign in to comment.