Skip to content

Commit

Permalink
feat: update to php8.1
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Larch <anna@nextcloud.com>
  • Loading branch information
miaulalala committed Jul 18, 2024
1 parent 578c70c commit 18ad7d6
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 25 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/php-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,7 @@ jobs:
strategy:
matrix:
php-versions: [ '8.1', '8.2', '8.3' ]
nextcloud-versions: [ 'master', 'stable29' ]
include:
- php-versions: '8.0'
nextcloud-versions: 'stable27'
- php-versions: '8.1'
nextcloud-versions: 'stable28'
nextcloud-versions: [ 'master' ]
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
env:
CI: true
Expand Down Expand Up @@ -50,20 +45,15 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
file: nextcloud/apps/calendar/clover.unit.xml
flags: php
fail_ci_if_error: ${{ !github.event.pull_request.head.repo.fork }}
fail_ci_if_error: true
verbose: true

integration-tests:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '8.1', '8.2', '8.3' ]
nextcloud-versions: [ 'master', 'stable29' ]
include:
- php-versions: '8.0'
nextcloud-versions: 'stable27'
- php-versions: '8.1'
nextcloud-versions: 'stable28'
nextcloud-versions: [ 'master' ]
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} integration tests
env:
CI: true
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/cs-fixer/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"config": {
"platform": {
"php": "8.0"
"php": "8.1"
},
"sort-packages": true
},
Expand Down
6 changes: 3 additions & 3 deletions vendor-bin/cs-fixer/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor-bin/phpunit/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"config": {
"platform": {
"php": "8.0"
"php": "8.1"
},
"sort-packages": true
},
Expand Down
6 changes: 3 additions & 3 deletions vendor-bin/phpunit/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor-bin/psalm/composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"config": {
"platform": {
"php": "8.0"
"php": "8.1"
}
},
"require-dev": {
Expand Down
6 changes: 3 additions & 3 deletions vendor-bin/psalm/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 18ad7d6

Please sign in to comment.