Merge pull request #6055 from iszmais/bugfix/unsubscribe-multiple #1
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: checks | |
on: [pull_request, push] | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
outputs: | |
all: ${{ steps.changes.outputs.all }} | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [7.2, 7.3, 7.4] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
extensions: dom, curl, libxml, mbstring, zip, gd, json, readline, xsl | |
tools: composer:v1 | |
coverage: none | |
- name: Install dependencies | |
run: composer install --no-interaction --no-progress | |
- name: PHP Unit Test | |
run: CI/PHPUnit/run_tests.sh | |
env: | |
GHRUN: "yes" | |
- name: PHP CS Fixer | |
run: CI/PHP-CS-Fixer/run_check.sh | |
env: | |
GHRUN: "yes" | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
- name: Special Char Checker | |
run: CI/Special-Char-Checker/special-char-checker.sh | |
env: | |
GHRUN: "yes" | |
PR_NUMBER: ${{ github.event.pull_request.number }} |