diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2023-10-29 18:51:33 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2024-01-26 13:53:34 +0100 |
commit | 52cc18efc0baa916b23350fe5fbb0b0081af5def (patch) | |
tree | c7f2760679e0b14189396af7ce3c44f574065857 /build/integration/config | |
parent | b64d03279586c0b26ca73818e9d5110176d8ae7b (diff) | |
download | nextcloud-server-52cc18efc0baa916b23350fe5fbb0b0081af5def.tar.gz nextcloud-server-52cc18efc0baa916b23350fe5fbb0b0081af5def.zip |
fix(tests): Ensure ldap server can be reached in integration tests on GitHub Actions and other improvments
* Run integration tests for every pull request
* Also print docker logs of service containers (ldap, redis)
* Ensure consistent `datadir` for test assertions
* Test openldap features separatly
* Only the LDAP tests rely on `/dev/shm` while `federated.feature` rely on real directory access
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'build/integration/config')
-rw-r--r-- | build/integration/config/behat.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/build/integration/config/behat.yml b/build/integration/config/behat.yml index 080752a3d6f..8401b841cdd 100644 --- a/build/integration/config/behat.yml +++ b/build/integration/config/behat.yml @@ -192,6 +192,26 @@ default: - admin - admin regular_user_password: 123456 + openldap_numerical: + paths: + - "%paths.base%/../openldap_numerical_features" + contexts: + - LDAPContext: + baseUrl: http://localhost:8080 + admin: + - admin + - admin + regular_user_password: 123456 + openldap: + paths: + - "%paths.base%/../openldap_features" + contexts: + - LDAPContext: + baseUrl: http://localhost:8080 + admin: + - admin + - admin + regular_user_password: 123456 remoteapi: paths: - "%paths.base%/../remoteapi_features" |