28 lines
537 B
YAML
28 lines
537 B
YAML
name: PHP Composer
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
operating-system: [ubuntu-latest]
|
|
php-versions: ["7.2", "7.3", "7.4", "8.0"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Validate composer.json and composer.lock
|
|
run: composer validate
|
|
|
|
- name: Install dependencies
|
|
run: composer install --no-progress
|
|
|
|
- name: Run test suite
|
|
run: vendor/bin/phpunit --no-coverage
|