Skip to content

group expectation in Expectation class #65

group expectation in Expectation class

group expectation in Expectation class #65

Workflow file for this run

name: Tests
on: ['push', 'pull_request']
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
php: ['8.1', '8.2', '8.3']
pest: ['2.14', '3.0']
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- php: '8.1'
pest: '3.0'
name: PHP ${{ matrix.php }} - PEST ^${{ matrix.pest }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: xdebug
- name: Install PHP dependencies
run: |
composer require "pestphp/pest:^${{ matrix.pest }}" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
- name: Unit Tests
run: composer test:unit -- --coverage-clover ./coverage.xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
verbose: true