update
This commit is contained in:
56
modules/pshowsso/vendor/league/oauth2-facebook/.github/workflows/ci.yaml
vendored
Normal file
56
modules/pshowsso/vendor/league/oauth2-facebook/.github/workflows/ci.yaml
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-18.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php:
|
||||
- '7.3'
|
||||
- '7.4'
|
||||
- '8.0'
|
||||
coverage: ['none']
|
||||
include:
|
||||
- description: 'Log Code Coverage'
|
||||
php: '8.0'
|
||||
coverage: 'xdebug'
|
||||
|
||||
name: PHP ${{ matrix.php }} ${{ matrix.description }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.composer/cache/files
|
||||
key: ${{ matrix.php }}
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php }}
|
||||
coverage: ${{ matrix.coverage }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer install
|
||||
|
||||
- name: Run PHPUnit tests
|
||||
run: vendor/bin/phpunit
|
||||
if: matrix.coverage == 'none'
|
||||
|
||||
- name: PHPUnit tests and Log Code coverage
|
||||
run: vendor/bin/phpunit --exclude-group proxy --coverage-clover=coverage.xml
|
||||
if: matrix.coverage == 'xdebug'
|
||||
|
||||
- name: Run codecov
|
||||
uses: codecov/codecov-action@v1
|
||||
if: matrix.coverage == 'xdebug'
|
||||
with:
|
||||
file: './coverage.xml'
|
||||
fail_ci_if_error: true
|
||||
23
modules/pshowsso/vendor/league/oauth2-facebook/.github/workflows/static-analysis.yaml
vendored
Normal file
23
modules/pshowsso/vendor/league/oauth2-facebook/.github/workflows/static-analysis.yaml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Code style
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
php-cs-fixer:
|
||||
name: PHP-CodeSniffer
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer install
|
||||
|
||||
- name: Run script
|
||||
run: ./vendor/bin/phpcs src --standard=psr12 -sp
|
||||
Reference in New Issue
Block a user