tester.yml 608 B

1234567891011121314151617181920212223242526272829
  1. name: Tester
  2. on:
  3. push:
  4. branches:
  5. - master
  6. pull_request:
  7. jobs:
  8. PHPUnit:
  9. name: phpunit-php${{ matrix.php-version }}
  10. runs-on: "ubuntu-latest"
  11. strategy:
  12. fail-fast: true
  13. matrix:
  14. php-version:
  15. - 8.1
  16. - 8.2
  17. - 8.3
  18. steps:
  19. - name: Checkout Code
  20. uses: actions/checkout@v4
  21. - name: PHP
  22. uses: shivammathur/setup-php@v2
  23. with:
  24. php-version: ${{ matrix.php-version }}
  25. - name: Install Dependencies
  26. run: composer install --no-progress
  27. - name: Run PHPUnit
  28. run: composer test