Skip to content

Update composer.json #126

Update composer.json

Update composer.json #126

Workflow file for this run

name: Check composer, run tests with cov report
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
permissions:
write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Validate composer.json and composer.lock
run: composer validate
- name: Check PHP installation
run: php -m
- name: Check PHP packages
run: dpkg --get-selections | grep -i php
- name: Install dependencies
uses: php-actions/composer@v6
with:
dev: yes
- name: Run PHPUnit Tests
uses: php-actions/phpunit@master
with:
version: 9.6.7
php_version: 8.0
php_extensions: xdebug
bootstrap: vendor/autoload.php
configuration: test/utils/phpunit.xml
args: --coverage-text
env:
XDEBUG_MODE: coverage