Skip to content

Commit

Permalink
Merge pull request #7 from ulrichmathes/patch-2
Browse files Browse the repository at this point in the history
PHP 8.0 and 8.1 support
  • Loading branch information
s2b authored Jun 29, 2022
2 parents e63e7c5 + 3043aaa commit e93cadc
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
36 changes: 35 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/cache@v1
with:
path: ~/.composer/cache
key: composer
key: composer-php-7.4

-
name: Install composer dependencies
Expand All @@ -39,6 +39,40 @@ jobs:
name: Editorconfig Linting
run: composer lint:editorconfig

unittest:
runs-on: ubuntu-latest

strategy:
max-parallel: 2
matrix:
php-version: [7.4, 8.0, 8.1]

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

-
uses: actions/checkout@v2

-
name: Validate composer.json
run: composer validate

-
name: Cache composer dependencies
uses: actions/cache@v1
with:
path: ~/.composer/cache
key: composer-php-${{ matrix.php-version }}

-
name: Install composer dependencies
run: composer install --prefer-dist --no-progress --no-suggest

-
name: PHP Unit Testing
run: composer test:php
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"issues": "https://github.com/sitegeist/fluid-components-linter/issues"
},
"require": {
"php": ">=7.2.0 <8",
"php": ">=7.2.0",
"symfony/config": "^4.4 || ^5.0",
"symfony/console": "^4.4 || ^5.0",
"typo3fluid/fluid": "^2.6"
Expand Down

0 comments on commit e93cadc

Please sign in to comment.