Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
php-versions: ['7.3', '7.4']
php-versions: ['8.0', '8.1']

name: php${{ matrix.php-versions }}
steps:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
php-version: 8.0
coverage: none
- name: Install dependencies
run: composer i
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.4']
nextcloud-versions: ['stable23', 'stable24', 'master']
php-versions: ['7.4', '8.0', '8.1']
nextcloud-versions: ['stable23', 'stable24', 'stable25', 'master']
include:
- php-versions: '7.3'
nextcloud-versions: 'stable23'
# - php-versions: '8.0'
# nextcloud-versions: 'master'
exclude:
- php-versions: '8.1'
nextcloud-versions: 'stable23'
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
env:
CI: true
Expand Down Expand Up @@ -52,11 +53,6 @@ jobs:
- name: Enable app
run: php -f nextcloud/occ app:enable tasks

- name: Downgrade phpunit for php7.2
if: ${{ matrix.php-versions == '7.2' }}
working-directory: nextcloud/apps/tasks
run: composer update christophwurst/nextcloud_testing -W

- name: Install dependencies
working-directory: nextcloud/apps/tasks
run: composer install
Expand Down
File renamed without changes.
11 changes: 8 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@
"email": "dev@bernhard-posselt.com"
}
],
"require": {},
"require": {
"php": ">=7.3 <=8.1"
},
"require-dev": {
"nextcloud/coding-standard": "^0.3.0",
"phpunit/phpunit": "^7.5"
"nextcloud/coding-standard": "^1.0.0",
"phpunit/phpunit": "^9.5"
},
"config": {
"platform": {
"php": "7.4"
},
"optimize-autoloader": true,
"classmap-authoritative": true
},
Expand Down
Loading