Skip to content

remove debug

remove debug #4

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.2, 8.3]
stability: [prefer-lowest, prefer-stable]
name: Unit Tests (${{matrix.php}}, ${{ matrix.os }}, ${{ matrix.stability }})
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache/files
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extension-csv: mbstring, xdebug
coverage: xdebug
- name: Install Dependencies
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --${{ matrix.stability }} --ignore-platform-reqs --prefer-dist --no-interaction --no-progress
- name: Validate composer.json
run: composer validate
- name: Execute tests
run: vendor/bin/phpunit --testdox