tracking/.github/workflows/ci.yaml

23 lines
514 B
YAML
Raw Normal View History

2020-02-25 20:11:06 +01:00
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Test CGL
run: ./vendor/bin/phpcs
2020-02-25 21:19:18 +01:00
- name: Execute PHPStan Code Quality
run: ./vendor/bin/phpstan analyse
2020-02-25 21:19:18 +01:00
- name: Execute PHPUnit Tests
run: ./vendor/bin/phpunit