specify only one downloader #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PSR12 (PHP codesniffer) | |
on: [ push, pull_request ] | |
jobs: | |
test: | |
name: default with ${{ matrix.php }} | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [ '7.4' ,'8.0' ,'8.1' ] | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout | |
with: | |
submodules: recursive | |
- uses: shivammathur/setup-php@v2 | |
name: Setup PHP | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: curl, mbstring, mysql, soap, xml | |
tools: composer | |
ini-values: session.gc_probability=0, date.timezone="Europe/Prague", display_startup_errors = Off | |
- name: Composer install | |
run: composer install --no-progress --prefer-dist | |
- run: composer run-script testPSR | |
name: Test | |
- if: failure() | |
name: Failure output | |
uses: actions/upload-artifact@v2 | |
with: | |
name: output | |
path: tests/**/*.actual |