Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
# @see: https://github.com/actions/virtual-environments
runs-on: ubuntu-latest

# Don't run if the PR is from Dependabot, as it doesn't have access to the repository's secrets.
# Dependabot also only checks for GitHub action dependencies, so it's not necessary to run
# Plugin tests.
if: github.actor != 'dependabot[bot]'

# Defines PHP Versions matrix to run tests on
strategy:
fail-fast: false
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@
"prefer-stable": true,
"scripts": {
"create-docs": "phpDocumentor --directory=src --target=docs --template='vendor/saggre/phpdocumentor-markdown/themes/markdown'",
"phpcs": "vendor/bin/phpcs ./ -s -v",
"phpcbf": "vendor/bin/phpcbf ./ -s -v",
"phpcs-tests": "vendor/bin/phpcs ./tests --standard=phpcs.tests.xml -s -v",
"phpcbf-tests": "vendor/bin/phpcbf ./tests --standard=phpcs.tests.xml -s -v",
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml -s -v",
"phpcbf": "vendor/bin/phpcbf --standard=phpcs.tests.xml -s -v",
"phpcs-tests": "vendor/bin/phpcs --standard=phpcs.xml -s -v",
"phpcbf-tests": "vendor/bin/phpcbf --standard=phpcs.tests.xml -s -v",
"phpstan": "vendor/bin/phpstan analyse --memory-limit=1250M",
"php-coding-standards": "vendor/bin/phpcs ./ -s -v",
"fix-php-coding-standards": "vendor/bin/phpcbf ./ -s -v",
"php-coding-standards-on-tests": "vendor/bin/phpcs ./tests --standard=phpcs.tests.xml -s -v",
"fix-php-coding-standards-on-tests": "vendor/bin/phpcbf ./tests --standard=phpcs.tests.xml -s -v",
"php-coding-standards": "vendor/bin/phpcs --standard=phpcs.xml -s -v",
"fix-php-coding-standards": "vendor/bin/phpcbf --standard=phpcs.xml -s -v",
"php-coding-standards-on-tests": "vendor/bin/phpcs --standard=phpcs.tests.xml -s -v",
"fix-php-coding-standards-on-tests": "vendor/bin/phpcbf --standard=phpcs.tests.xml -s -v",
"php-static-analysis": "vendor/bin/phpstan analyse --memory-limit=1250M",
"test": "vendor/bin/phpunit --verbose --stop-on-failure @additional_args"
}
Expand Down
Loading