Skip to content

add/set approvedScopes in User #137

add/set approvedScopes in User

add/set approvedScopes in User #137

Workflow file for this run

name: Test
on: [ pull_request, push ]
jobs:
test:
runs-on: ubuntu-20.04
strategy:
max-parallel: 15
fail-fast: false
matrix:
coverage: [ 'none' ]
php-versions: [ '7.2', '7.3', '7.4', '8.0' ]
exclude:
- php-versions: '8.0'
include:
- php-versions: '8.0'
coverage: 'xdebug'
name: PHP ${{ matrix.php-versions }}
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: json, mbstring, xdebug
coverage: ${{ matrix.coverage }}
- name: Install dependencies
run: composer update --no-interaction --prefer-dist --no-suggest --prefer-stable
- name: Lint composer.json
run: composer validate --strict
- name: Run Tests
run: vendor/bin/phpunit -v
- name: Upload coverage results
uses: codecov/codecov-action@v1
if: matrix.coverage != 'none'