searchdav/.github/workflows/ci.yml
Joas Schilling 2b4e9a4811
feat: Add PHP 8.4 support
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-08 12:13:26 +01:00

21 lines
493 B
YAML

name: CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4', '8.0', '8.4']
steps:
- uses: actions/checkout@v2
- name: Set up php${{ matrix.php-versons }}
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-versions }}
- name: Install dependencies
run: composer i
- name: PHPUnit
run: ./vendor/phpunit/phpunit/phpunit -c tests/phpunit.xml