ci.yml 642 B

1234567891011121314151617181920212223242526272829303132
  1. on:
  2. - pull_request
  3. - push
  4. name: CI
  5. jobs:
  6. run:
  7. name: Tests
  8. strategy:
  9. matrix:
  10. operating-system: [ubuntu-latest]
  11. php-versions: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
  12. runs-on: ${{ matrix.operating-system }}
  13. steps:
  14. - name: Checkout
  15. uses: actions/checkout@v2
  16. - name: Install PHP
  17. uses: shivammathur/setup-php@v2
  18. with:
  19. php-version: ${{ matrix.php-versions }}
  20. extensions: sockets, json, curl
  21. - name: Install dependencies with composer
  22. run: composer install
  23. - name: Run tests
  24. run: make test