Skip to content

build: Minimum PHP Dependency #37

build: Minimum PHP Dependency

build: Minimum PHP Dependency #37

Workflow file for this run

name: "Run Pest"
on: pull_request
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ 8.1, 8.2 ]
stability: [ prefer-lowest, prefer-stable ]
name: "PHP: v${{ matrix.php }} [${{ matrix.stability }}]"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- name: Setup problem matchers
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install dependencies
run: |
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Execute tests
run: vendor/bin/pest