Merge pull request #661 from nextcloud/fix/stable20-remnants

Remove Nextcloud 20 remnants
This commit is contained in:
Christoph Wurst 2022-06-14 16:30:10 +02:00 коммит произвёл GitHub
Родитель 31a6cf26db f4c5374543
Коммит 4b0eac7611
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 0 добавлений и 27 удалений

27
.github/workflows/test.yml поставляемый
Просмотреть файл

@ -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