mirror of https://github.com/sualko/cloud_bbb
fix: gitactions (psr 1.1.2 / NC 26)
parent
9fd051ac3b
commit
9f2d820d63
|
@ -14,12 +14,12 @@ jobs:
|
|||
php-versions: ['8.0', '8.1', '8.2', '8.3']
|
||||
nextcloud-versions: ['stable26', 'stable27', 'stable28', 'stable29', 'stable30']
|
||||
exclude:
|
||||
- - php-versions: '8.0'
|
||||
- nextcloud-versions: 'stable30'
|
||||
- - php-versions: '8.3'
|
||||
- nextcloud-versions: 'stable26'
|
||||
- - php-versions: '8.3'
|
||||
- nextcloud-versions: 'stable27'
|
||||
- php-versions: '8.0'
|
||||
nextcloud-versions: 'stable30'
|
||||
- php-versions: '8.3'
|
||||
nextcloud-versions: 'stable26'
|
||||
- php-versions: '8.3'
|
||||
nextcloud-versions: 'stable27'
|
||||
name: php${{ matrix.php-versions }} on ${{ matrix.nextcloud-versions }} unit tests
|
||||
env:
|
||||
CI: true
|
||||
|
|
|
@ -7,6 +7,10 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
ocp-version: [ "^30", "^29", '^28', '^27', '^26']
|
||||
include:
|
||||
- psrcontainer: "psr/container"
|
||||
- psrcontainer: "psr/container:^1.1.2"
|
||||
ocp-version: '^26'
|
||||
name: Nextcloud ${{ matrix.ocp-version }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -21,7 +25,7 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: composer i
|
||||
- name: Install dependencies
|
||||
run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} symfony/service-contracts
|
||||
run: composer require --dev nextcloud/ocp:${{ matrix.ocp-version }} ${{ matrix.psrcontainer }} symfony/service-contracts
|
||||
- name: Run coding standards check
|
||||
run: composer run psalm
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"phpstan/phpstan": "^0.12.29",
|
||||
"nextcloud/ocp": "^25.0 || ^26.0 || ^27.0",
|
||||
"vimeo/psalm": "^5.0",
|
||||
"psr/container": "^1.1.2"
|
||||
"psr/container": "^2.0.2"
|
||||
},
|
||||
"config": {
|
||||
"optimize-autoloader": true,
|
||||
|
|
Loading…
Reference in New Issue