1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-05 05:37:49 +02:00

Run CSSTidy tests on CI (#338)

* Run CSSTidy tests on CI

* update dirname

* use compopser instead of git clone

* use composer

* use test-settings.sample.php

* enable ext-intl

* disable Net_IDNA2
This commit is contained in:
Kieran
2022-09-15 04:55:41 +01:00
committed by GitHub
parent f1d6da13bc
commit 25824056ee
8 changed files with 26 additions and 130 deletions

View File

@@ -22,12 +22,15 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
ini-values: error_reporting=E_ALL
extensions: iconv, bcmath, tidy, mbstring, intl
- name: Clone simpletest
run: git clone --depth=50 https://github.com/ezyang/simpletest.git
- name: Install dependencies
run: composer install
- name: Configure simpletest
run: cp test-settings.travis.php test-settings.php
run: cp test-settings.sample.php test-settings.php
- name: Execute Unit tests
run: php tests/index.php