Skip to content

PHP build

PHP build #132

Workflow file for this run

name: PHP build
on:
push:
pull_request:
release:
schedule:
- cron: "0 0 1 * *"
jobs:
run:
runs-on: ${{ matrix.operating-system }}
env:
INFECTION_BADGE_API_KEY: ${{ secrets.INFECTION_BADGE_API_KEY }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-version: ['8.1', '8.2']
name: PHP ${{ matrix.php-version }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug
tools: composer
- name: Install package
run: |
composer install
- name: CI pack
run: |
composer ci:pack
bash <(curl -s https://codecov.io/bash)