Skip to content

make sure php extensions installed in phpunit github action #39

make sure php extensions installed in phpunit github action

make sure php extensions installed in phpunit github action #39

Workflow file for this run

name: phpunit
on: [push]
jobs:
phpunit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.3"
# php extensions also listed in tools/docker-dev/web/Dockerfile
extensions:
- curl

Check failure on line 16 in .github/workflows/phpunit.yml

View workflow run for this annotation

GitHub Actions / phpunit

Invalid workflow file

The workflow is not valid. .github/workflows/phpunit.yml (Line: 16, Col: 11): A sequence was not expected
- mysql
- ldap
- pdo
- redis
- cli
tools: composer:v2
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run PHPUnit tests
run: vendor/bin/phpunit