Skip to content

swap badge

swap badge #30

Workflow file for this run

name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
CI:
runs-on: ubuntu-latest
strategy:
matrix:
php:
- '8.0'
- '8.1'
- '8.2'
coverage:
- none
include:
- php: '8.3'
coverage: xdebug
steps:
- uses: shivammathur/[email protected]
with:
php-version: ${{ matrix.php }}
coverage: ${{ matrix.coverage }}
- uses: actions/checkout@v3
with:
fetch-depth: 2 # required by Scrutinizer
- run: composer install --no-progress --no-ansi --no-interaction --dev --prefer-dist
- run: php test/test.php
- if: matrix.coverage == 'xdebug'
uses: sudo-bot/action-scrutinizer@latest
with:
cli-args: '--format=php-clover test/build/clover.xml'