Skip to content

Upgrade to Drupal 11 with all dependencies #3

Upgrade to Drupal 11 with all dependencies

Upgrade to Drupal 11 with all dependencies #3

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
test:

Check failure on line 11 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Tests

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
name: Testing
runs-on: ubuntu-latest
needs: lint
services:
db:
image: mysql:8.0
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: db
MYSQL_PASSWORD: db
MYSQL_DATABASE: db
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
coverage: xdebug
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip, pdo, mysql, pdo_mysql, gd, apcu
- name: Install Dependencies
uses: ramsey/composer-install@v3
- name: Unit & Kernel Tests
run: vendor/bin/phpunit --testsuite unit,kernel
- name: Install Drupal
run: bash scripts/install-ci.sh
- name: Existing Site Tests
run: vendor/bin/phpunit --testsuite existing-site