0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-21 03:35:18 +00:00
htmlpurifier/.github/workflows/ci.yml
Kieran 1c784a5c3d
ci: test on php 8.0 (#308)
* PHP 8 support

* only php 8.0

* Merged to master

Co-authored-by: Edward Z. Yang <ezyang@mit.edu>
2021-12-23 21:26:25 -05:00

34 lines
692 B
YAML

name: ci
on:
push:
pull_request:
jobs:
linux_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0]
name: PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Clone simpletest
run: git clone --depth=50 https://github.com/ezyang/simpletest.git
- name: Configure simpletest
run: cp test-settings.travis.php test-settings.php
- name: Execute Unit tests
run: php tests/index.php