Skip to content

Upgrade to Drupal 11 with all dependencies #6

Upgrade to Drupal 11 with all dependencies

Upgrade to Drupal 11 with all dependencies #6

Workflow file for this run

name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: Testing
runs-on: ubuntu-latest
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