ci.yml 607 B

123456789101112131415161718192021222324252627282930
  1. name: CI
  2. on:
  3. pull_request:
  4. jobs:
  5. build:
  6. name: Build
  7. runs-on: ubuntu-latest
  8. strategy:
  9. max-parallel: 10
  10. matrix:
  11. php: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
  12. steps:
  13. - name: Set up PHP
  14. uses: shivammathur/setup-php@v2
  15. with:
  16. php-version: ${{ matrix.php }}
  17. coverage: 'none'
  18. extensions: mbstring
  19. - name: Checkout code
  20. uses: actions/checkout@v2
  21. - name: Install dependencies
  22. run: composer update --no-interaction --no-progress --prefer-dist
  23. - name: Run tests
  24. run: make test