Skip to content

update PHP SDK composer version 2.2.0 #116

update PHP SDK composer version 2.2.0

update PHP SDK composer version 2.2.0 #116

Workflow file for this run

name: Build
on:
push:
pull_request:
release:
types: [ published ]
jobs:
build:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "5.6"
- "7.0"
- "7.1"
- "7.2"
- "7.4"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug
- name: Install dependencies
run: |
composer update --no-ansi --no-interaction --no-progress
composer global require php-coveralls/php-coveralls
- name: Run tests
run: XDEBUG_MODE=coverage vendor/bin/phpunit tests --coverage-clover=build/logs/clover.xml
- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: php-coveralls --coverage_clover=build/logs/clover.xml -v