Skip to content

Add support for functions: Get Communication Event Counter and Report server ID #130

Add support for functions: Get Communication Event Counter and Report server ID

Add support for functions: Get Communication Event Counter and Report server ID #130

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-version: ['8.0', '8.1', '8.2', '8.3']
name: PHP ${{ matrix.php-version }} Test on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, intl
ini-values: post_max_size=256M, short_open_tag=On
coverage: xdebug
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer update --no-progress --no-suggest
- name: Run static checks
run: composer check
- name: Run test suite
run: composer test-ci
- name: Upload coverage to Codecov
if: matrix.php-version == '8.3' && matrix.operating-system == 'ubuntu-latest'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./report/coverage.xml
flags: unittests