Skip to content

Neutralize or remove illegal self-closing tags #30

Neutralize or remove illegal self-closing tags

Neutralize or remove illegal self-closing tags #30

name: "CI"
on:
pull_request:
push:
branches:
- master
jobs:
phpunit:
name: "PHP ${{ matrix.php }}"
runs-on: "ubuntu-20.04"
strategy:
fail-fast: false
matrix:
php:
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- "8.1"
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php }}"
coverage: none
tools: pecl, composer:v2
extensions: tidy
ini-values: "date.timezone=Europe/Paris"
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
with:
composer-options: "--optimize-autoloader --prefer-dist"
- name: "Run PHPUnit"
run: "php vendor/bin/phpunit --color tests"