Skip to content

Changed to actions/checkout@v3 #25

Changed to actions/checkout@v3

Changed to actions/checkout@v3 #25

name: CI (Ant, PHP 7.4)
on:
push:
tags-ignore:
- '**'
branches:
- '**'
paths-ignore:
- '**.md'
- '**.tmpl'
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
extensions: imagick, swoole
coverage: xdebug
- name: Build with Ant
run: ant -noinput -buildfile build.ant.xml
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
if: always()
with:
files: "./build/logs/junit.xml"
- name: Publish Coverage Report
uses: lucassabreu/comment-coverage-clover@main
if: always()
with:
file: "./build/logs/clover.xml"