Merge pull request #661 from nextcloud/fix/stable20-remnants
Remove Nextcloud 20 remnants
This commit is contained in:
Коммит
4b0eac7611
|
@ -31,10 +31,6 @@ jobs:
|
|||
- name: Install dependencies
|
||||
working-directory: nextcloud/apps/suspicious_login
|
||||
run: composer install
|
||||
- name: Fix php-parser on stable20 incompatibility with phpunit 9.3+
|
||||
if: ${{ matrix.nextcloud-version == 'stable20' }}
|
||||
working-directory: nextcloud/3rdparty
|
||||
run: composer require nikic/php-parser:4.10
|
||||
- name: Run tests
|
||||
working-directory: nextcloud/apps/suspicious_login
|
||||
run: composer run test:unit
|
||||
|
@ -114,26 +110,3 @@ jobs:
|
|||
run: php -f nextcloud/occ app:enable suspicious_login
|
||||
- name: Configure Nextcloud for testing
|
||||
run: php -f nextcloud/occ config:system:set debug --type bool --value true
|
||||
|
||||
app-code-check:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
nextcloud-versions: ['stable20', 'master']
|
||||
name: Nextcloud ${{ matrix.nextcloud-versions }} app code check
|
||||
steps:
|
||||
- name: Set up php7.4
|
||||
uses: shivammathur/setup-php@master
|
||||
with:
|
||||
php-version: 7.4
|
||||
extensions: ctype,curl,dom,gd,iconv,intl,json,mbstring,openssl,posix,sqlite,xml,zip
|
||||
- name: Checkout Nextcloud
|
||||
run: git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b ${{ matrix.nextcloud-versions }} nextcloud
|
||||
- name: Run tests
|
||||
run: php -f nextcloud/occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass=''
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
path: nextcloud/apps/suspicious_login
|
||||
- name: Run tests
|
||||
run: php -f nextcloud/occ app:check-code suspicious_login
|
||||
|
|
Загрузка…
Ссылка в новой задаче