Skip to content

Commit

Permalink
Test on lowest dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Aug 11, 2023
1 parent acde52b commit fbb4243
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request:

env:
LOWEST_PHP_VERSION: "8.1"
PSALM_PHP_VERSION: "8.2"
COVERAGE_PHP_VERSION: "8.2"

Expand Down Expand Up @@ -42,6 +43,18 @@ jobs:
- GMP
- BCMath
- Native
deps:
- "highest"
include:
- php-version: ${{ env.LOWEST_PHP_VERSION }}
calculator: GMP
deps: "lowest"
- php-version: ${{ env.LOWEST_PHP_VERSION }}
calculator: BCMath
deps: "lowest"
- php-version: ${{ env.LOWEST_PHP_VERSION }}
calculator: Native
deps: "lowest"

steps:
- name: Checkout
Expand All @@ -55,6 +68,8 @@ jobs:

- name: Install composer dependencies
uses: "ramsey/composer-install@v1"
with:
dependency-versions: ${{ matrix.deps }}

- name: Run PHPUnit
run: vendor/bin/phpunit
Expand Down

0 comments on commit fbb4243

Please sign in to comment.