Skip to content

chore: master is now 3.x #65

chore: master is now 3.x

chore: master is now 3.x #65

Workflow file for this run

name: Tests
on:
push:
pull_request_target:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
composer_flags:
- ''
php_version:
- '8.1'
- '8.2'
name: PHP ${{ matrix.php_version }}
steps:
- uses: actions/checkout@v2
- name: Setup PHP with pecl extension
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
tools: pecl
extensions: :opcache, mongodb
- run: composer remove --no-update --dev roave/security-advisories solido/php-coding-standards
- run: composer update --with-all-dependencies ${{ matrix.composer_flags }}
- run: vendor/bin/phpunit --coverage-clover coverage.xml
env:
XDEBUG_MODE: coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml