Skip to content

Commit

Permalink
Merge pull request #14 from jop-software/11-execute-tests-with-php-83…
Browse files Browse the repository at this point in the history
…-and-prefer-lowest

task: test with PHP8.3 and lowest dependencies
  • Loading branch information
cngJo committed Dec 4, 2023
2 parents 8ef33d4 + 459d2e1 commit 1472849
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
- name: "Install PHP"
uses: 'shivammathur/setup-php@v2'
with:
php-version: '8.2'
php-version: '8.3'
tools: 'composer:v2'

- name: 'Install Dependencies'
run: 'composer install --no-interaction --no-progress --no-suggest'
run: 'composer install --no-interaction --no-progress'

- name: 'ESC'
run: 'vendor/bin/ecs'
Expand All @@ -43,8 +43,12 @@ jobs:
- '8.0'
- '8.1'
- '8.2'
- '8.3'
dependencies:
- 'stable'
- 'lowest'

name: "Testing against PHP ${{ matrix.php-version }}"
name: "Testing against PHP ${{ matrix.php-version }} with ${{ matrix.dependencies }} dependencies"
steps:
- name: 'Checkout'
uses: 'actions/checkout@v3'
Expand All @@ -56,7 +60,7 @@ jobs:
tools: 'composer:v2'

- name: 'Install Dependencies'
run: 'composer install --no-interaction --no-progress --no-suggest'
run: 'composer update --no-interaction --no-progress --prefer-${{ matrix.dependencies }}'

- name: 'PHPUnit'
run: 'vendor/bin/phpunit'

0 comments on commit 1472849

Please sign in to comment.