Skip to content

Commit

Permalink
[TASK] Allow PHP 8.0 (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott authored Dec 3, 2021
1 parent ed56de5 commit 17939be
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: CI

on: [ push, pull_request ]
on:
push:
branches-ignore:
- 'task/**'
- 'bugfix/**'
- 'feature/**'
pull_request:

jobs:
build:
Expand All @@ -11,7 +17,7 @@ jobs:
fail-fast: false
matrix:
typo3: ['^11.5']
php: ['7.4']
php: ['7.4', '8.0']
mysql: ['5.7']

steps:
Expand Down Expand Up @@ -64,12 +70,13 @@ jobs:
typo3DatabaseUsername: root

- name: Upload coverage results to Coveralls
if: matrix.php != '8.0'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_PARALLEL: true
COVERALLS_FLAG_NAME: php-${{ matrix.php }}
run: |
composer global require twinh/php-coveralls --no-progress --no-suggest --no-interaction
composer global require php-coveralls/php-coveralls --no-progress --no-suggest --no-interaction
/home/runner/.composer/vendor/bin/php-coveralls --coverage_clover=var/log/junit/coverage-unit.xml --coverage_clover=var/log/junit/coverage-functional.xml -vvv --json_path=var/log/coveralls-upload.json
coveralls-finish:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"typo3/cms-fluid-styled-content": "Content rendering definition based on fluid"
},
"require": {
"php": "^7.4",
"php": ">=7.4.0",
"ext-json": "*",
"ext-pdo": "*",
"psr/http-message": "^1.0",
Expand Down

0 comments on commit 17939be

Please sign in to comment.