Merge pull request #94 from nextcloud/ci-integration-tests
Add integration tests
This commit is contained in:
commit
1604066184
|
@ -1,4 +1,11 @@
|
|||
build:
|
||||
integration:
|
||||
image: morrisjobke/nextcloud-ci-php7:1.0.3
|
||||
commands:
|
||||
- git submodule update --init
|
||||
- ./occ maintenance:install --admin-pass=admin
|
||||
- cd build/integration
|
||||
- ./run.sh
|
||||
jsunit:
|
||||
image: morrisjobke/nextcloud-ci-jsunit:1.0.2
|
||||
commands:
|
||||
|
@ -6,6 +13,7 @@ build:
|
|||
sqlite:
|
||||
image: morrisjobke/nextcloud-ci-php7:1.0
|
||||
commands:
|
||||
- rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
|
||||
- git submodule update --init
|
||||
- ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass=''
|
||||
- ./autotest.sh sqlite
|
||||
|
|
|
@ -282,6 +282,7 @@ Feature: provisioning
|
|||
Then the OCS status code should be "100"
|
||||
And the HTTP status code should be "200"
|
||||
And apps returned are
|
||||
| admin_audit |
|
||||
| comments |
|
||||
| dav |
|
||||
| federatedfilesharing |
|
||||
|
|
|
@ -1,5 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
COMPOSER=$(which composer)
|
||||
|
||||
if [ -x "$COMPOSER" ]; then
|
||||
echo "Using composer executable $COMPOSER"
|
||||
else
|
||||
echo "Could not find composer executable" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
composer install
|
||||
|
||||
SCENARIO_TO_RUN=$1
|
||||
|
|
Loading…
Reference in New Issue