install.yml 648 B

1234567891011121314151617181920212223242526272829
  1. name: Support Multiple Versions
  2. on:
  3. push:
  4. pull_request:
  5. jobs:
  6. install:
  7. name: PHP${{ matrix.php-version }} Test Install
  8. runs-on: "${{ matrix.os }}"
  9. strategy:
  10. matrix:
  11. os: [ubuntu-latest]
  12. php-version: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
  13. max-parallel: 10
  14. fail-fast: false
  15. steps:
  16. - name: Checkout
  17. uses: actions/checkout@v4
  18. - name: Setup PHP
  19. uses: shivammathur/setup-php@v2
  20. with:
  21. php-version: ${{ matrix.php-version }}
  22. coverage: none
  23. - name: Setup Dependencies
  24. run:
  25. composer install -o