Skip to content

Update phpunit/phpunit requirement from ^8.0 || ^9.0 || ^10.0 to ^11.3.3 #174

Update phpunit/phpunit requirement from ^8.0 || ^9.0 || ^10.0 to ^11.3.3

Update phpunit/phpunit requirement from ^8.0 || ^9.0 || ^10.0 to ^11.3.3 #174

Workflow file for this run

name: run-tests
on:
push:
branches:
- develop
- master
- feature/update-zoho-client
pull_request:
branches:
- develop
- master
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest, windows-latest ]
php: [ 7.4, 7.3, 8.0 ]
dependency-version: [ prefer-stable ]
name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v1
- 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 }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, bcmath, soap, intl
coverage: none
- name: Install dependencies
run: |
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
env:
OAUTH_CONFIG: ${{ secrets.OAUTH_CONFIG }}