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: 3 additions & 1 deletion .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ local Pipeline(test_set, database, services) = {
] else []
) + [
"cd apps/$APP_NAME",
"composer install --no-dev",
"composer --version",
"composer self-update --2",
"composer install",
"cd tests/integration/",
"bash run.sh features/"+test_set
]
Expand Down
108 changes: 81 additions & 27 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/callapi
environment:
Expand Down Expand Up @@ -49,7 +51,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/chat
environment:
Expand Down Expand Up @@ -83,7 +87,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/command
environment:
Expand Down Expand Up @@ -118,7 +124,9 @@ steps:
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/conversation
environment:
Expand Down Expand Up @@ -153,7 +161,9 @@ steps:
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/conversation-2
environment:
Expand Down Expand Up @@ -187,7 +197,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/federation
environment:
Expand Down Expand Up @@ -221,7 +233,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/reaction
environment:
Expand Down Expand Up @@ -255,7 +269,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/sharing
environment:
Expand Down Expand Up @@ -289,7 +305,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/sharing-2
environment:
Expand Down Expand Up @@ -337,7 +355,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/callapi
environment:
Expand Down Expand Up @@ -386,7 +406,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/chat
environment:
Expand Down Expand Up @@ -435,7 +457,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/command
environment:
Expand Down Expand Up @@ -485,7 +509,9 @@ steps:
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/conversation
environment:
Expand Down Expand Up @@ -535,7 +561,9 @@ steps:
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/conversation-2
environment:
Expand Down Expand Up @@ -584,7 +612,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/federation
environment:
Expand Down Expand Up @@ -633,7 +663,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/reaction
environment:
Expand Down Expand Up @@ -682,7 +714,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/sharing
environment:
Expand Down Expand Up @@ -731,7 +765,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/sharing-2
environment:
Expand Down Expand Up @@ -775,7 +811,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/callapi
environment:
Expand Down Expand Up @@ -818,7 +856,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/chat
environment:
Expand Down Expand Up @@ -861,7 +901,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/command
environment:
Expand Down Expand Up @@ -905,7 +947,9 @@ steps:
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/conversation
environment:
Expand Down Expand Up @@ -949,7 +993,9 @@ steps:
- ./occ app:enable notifications
- git clone --depth 1 -b $GUESTS_BRANCH https://github.com/nextcloud/guests apps/guests
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/conversation-2
environment:
Expand Down Expand Up @@ -992,7 +1038,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/federation
environment:
Expand Down Expand Up @@ -1035,7 +1083,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/reaction
environment:
Expand Down Expand Up @@ -1078,7 +1128,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/sharing
environment:
Expand Down Expand Up @@ -1121,7 +1173,9 @@ steps:
apps/notifications
- ./occ app:enable notifications
- cd apps/$APP_NAME
- composer install --no-dev
- composer --version
- composer self-update --2
- composer install
- cd tests/integration/
- bash run.sh features/sharing-2
environment:
Expand Down
32 changes: 32 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,38 @@ updates:
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
- package-ecosystem: composer
directory: "/vendor-bin/csfixer"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
- package-ecosystem: composer
directory: "/vendor-bin/mozart"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
- package-ecosystem: composer
directory: "/vendor-bin/phpunit"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
- package-ecosystem: composer
directory: "/vendor-bin/psalm"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: "/"
schedule:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ jobs:
# php -S localhost:8080 &

- name: PHPUnit
working-directory: apps/${{ env.APP_NAME }}/tests/php
run: ../../vendor/phpunit/phpunit/phpunit -c phpunit.xml
working-directory: apps/${{ env.APP_NAME }}
run: composer run test

# - name: PHPUnit integration
# working-directory: apps/${{ env.APP_NAME }}
Expand Down Expand Up @@ -150,8 +150,8 @@ jobs:
# php -S localhost:8080 &

- name: PHPUnit
working-directory: apps/${{ env.APP_NAME }}/tests/php
run: ../../vendor/phpunit/phpunit/phpunit -c phpunit.xml
working-directory: apps/${{ env.APP_NAME }}
run: composer run test

# - name: PHPUnit integration
# working-directory: apps/${{ env.APP_NAME }}
Expand Down Expand Up @@ -222,8 +222,8 @@ jobs:
# php -S localhost:8080 &

- name: PHPUnit
working-directory: apps/${{ env.APP_NAME }}/tests/php
run: ../../vendor/phpunit/phpunit/phpunit -c phpunit.xml
working-directory: apps/${{ env.APP_NAME }}
run: composer run test

# - name: PHPUnit integration
# working-directory: apps/${{ env.APP_NAME }}
Expand Down Expand Up @@ -287,8 +287,8 @@ jobs:
# php -S localhost:8080 &

- name: PHPUnit
working-directory: apps/${{ env.APP_NAME }}/tests/php
run: ../../vendor/phpunit/phpunit/phpunit -c phpunit.xml
working-directory: apps/${{ env.APP_NAME }}
run: composer run test

# - name: PHPUnit integration
# working-directory: apps/${{ env.APP_NAME }}
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

# PHP Code Sniffer
/vendor
/vendor-bin/*/vendor
/lib/Vendor
/.php-cs-fixer.cache

# Local docs
Expand Down
Loading