Skip to content

Commit

Permalink
Merge pull request #231 from hristokpopov/3.x-php.7.2.5
Browse files Browse the repository at this point in the history
Change required php version to >=7.2.5
  • Loading branch information
goetas authored Sep 30, 2023
2 parents d88547c + 7e3ac07 commit 958ee25
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
42 changes: 41 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- master

jobs:
phpunit:
phpunit-sf5:
name: "PHPUnit"
runs-on: "ubuntu-20.04"

Expand All @@ -16,6 +16,46 @@ jobs:
matrix:
symfony-version:
- '^5.4'
php-version:
- '7.2.5'
- '7.4'
dependencies:
- "lowest"
- "highest"

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}

- name: Configure symfony version
uses: php-actions/composer@v6
with:
command: config
args: extra.symfony.require ${{ matrix.symfony-version }}

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

- name: Run tests
run: |
SYMFONY_DEPRECATIONS_HELPER=weak vendor/bin/simple-phpunit ${PHPUNIT_FLAGS}
phpunit-sf6:
name: "PHPUnit"
runs-on: "ubuntu-20.04"

strategy:
fail-fast: false
matrix:
symfony-version:
- '^6.0'
php-version:
- '8.1'
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": "^8.1",
"php": ">=7.2.5",
"symfony/framework-bundle": "^5.4 || ^6.0 ",
"symfony/intl": "^5.4 || ^6.0",
"symfony/templating": "^5.4 || ^6.0",
Expand Down

0 comments on commit 958ee25

Please sign in to comment.