Skip to content

Merge pull request #24 from cooldeark/master #52

Merge pull request #24 from cooldeark/master

Merge pull request #24 from cooldeark/master #52

Workflow file for this run

name: ci
env:
XDEBUG_MODE: 'coverage'
on:
push:
branches:
- master
- dev
paths-ignore:
- 'README.md'
- 'LICENSE'
pull_request:
branches:
- master
paths-ignore:
- 'README.md'
- 'LICENSE'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Cache Composer
uses: actions/cache@v1
with:
path: vendor
key: ${{ runner.OS }}-build-${{ hashFiles('**/composer.lock') }}
- name: Composer Dependencies
run: composer install --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Lint
run: composer lint
- name: Unit Tests
run: composer test
- name: Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}