Skip to content
Merged
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
12 changes: 3 additions & 9 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,12 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.3', '7.4']
php-versions: ['7.3', '7.4', '8.0']
drupal-core: ['9.1.x']
phpstan: ['1']
include:
# Extra run to also test on latest Drupal 8 and PHP 7.2.
- php-versions: '7.2'
drupal-core: '8.9.x'
phpstan: '1'
# PHPStan does not work on PHP 8 yet for us.
- php-versions: '8.0'
drupal-core: '9.1.x'
phpstan: '0'
steps:
- name: Checkout Drupal core
uses: actions/checkout@v2
Expand Down Expand Up @@ -86,7 +80,7 @@ jobs:
webonyx/graphql-php:^14.8 \
drupal/typed_data:^1.0 \
drupal/redirect:^1.6 \
phpstan/phpstan:^0.12.70 \
phpstan/phpstan:^0.12.88 \
mglaman/phpstan-drupal:^0.12.8 \
phpstan/phpstan-deprecation-rules:^0.12.2 \
jangregor/phpstan-prophecy:^0.8 \
Expand All @@ -109,7 +103,7 @@ jobs:

- name: Run PHPStan
run: |
if [[ ${{ matrix.phpstan }} == "1" ]]; then cd modules/graphql && ../../vendor/bin/phpstan analyse; fi
cd modules/graphql && ../../vendor/bin/phpstan analyse

- name: Run PHPCS
run: |
Expand Down