mirror of
https://github.com/DanielSiepmann/tracking.git
synced 2024-07-03 12:48:50 +02:00
23 lines
524 B
YAML
23 lines
524 B
YAML
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
|
|
|
|
- name: Execute PHPStan Code Quality
|
|
run: ./vendor/bin/phpstan analyse
|
|
|
|
- name: Execute PHPUnit Tests
|
|
run: ./vendor/bin/phpunit --testdox
|