Skip to content

Bump shivammathur/setup-php from 2.31.1 to 2.32.0 #1

Bump shivammathur/setup-php from 2.31.1 to 2.32.0

Bump shivammathur/setup-php from 2.31.1 to 2.32.0 #1

Workflow file for this run

name: PHPUnit
on: pull_request
permissions:
contents: read
concurrency:
group: phpunit-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
phpunit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: ['8.1', '8.2', '8.3', '8.4']
name: PHP ${{ matrix.php-versions }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2.32.0
with:
php-version: ${{ matrix.php-versions }}
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: PHPUnit with ZSH
run: SHELL=zsh vendor/bin/phpunit
- name: PHPUnit with BASH
run: SHELL=bash vendor/bin/phpunit
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [phpunit]
if: always()
name: phpunit-summary
steps:
- name: Summary status
run: if ${{ needs.phpunit.result != 'success' }}; then exit 1; fi