name: PHP Composer

on:
  push:
    branches: [ doryphore ]
  pull_request:
    branches: [ doryphore ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: Validate composer.json and composer.lock
      run: composer validate --strict

    - name: Install dependencies
      run: composer install --prefer-dist --no-progress

    - name: Run test suite
      run: composer run-script test


name: PHP Composer

on:
  push:
    branches: [ doryphore ]
  pull_request:
    branches: [ doryphore ]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: shivammathur/setup-php@v2
      with:
        php-version: '7.3'

    - uses: actions/checkout@v2

    - name: Validate composer.json and composer.lock
      run: composer validate --strict

    - name: Install dependencies
      run: composer install --prefer-dist --no-progress

    - name: Run test suite
      run: composer run-script test


Use `php@7.3` for unit tests
Use `php@7.3` for unit tests
