Skip to content

Commit

Permalink
Check lowest and highest versions in pr check
Browse files Browse the repository at this point in the history
  • Loading branch information
bart-van-amelsvoort committed May 23, 2024
1 parent 2486e0a commit 6978cc4
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['7.4', '8.3']
php: ['7.4']
composer-options:
- --prefer-dist --no-progress --no-interaction
- --prefer-dist --no-progress --no-interaction --prefer-lowest

steps:
# Checkout & installation
- name: Checkout repository
Expand All @@ -20,18 +24,19 @@ jobs:
ini-values: "memory_limit=-1"
php-version: "${{ matrix.php }}"

- name: Composer install
run: composer update --prefer-dist --no-progress --no-suggest --no-interaction --prefer-lowest
# Install project
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-interaction

- name: PHPCS Fixer install
run: composer bin php-cs-fixer update
- name: Composer update
run: composer update ${{ matrix.composer-options }}

# Linters
- name: Run Composer linter
run: composer validate --strict --no-check-lock

- name: Run lint PHP
run: composer run-script php-lint
#- name: Run lint PHP
# run: composer run-script php-lint

# Tests
- name: Run PHP unit test suite
Expand Down

0 comments on commit 6978cc4

Please sign in to comment.