]> source.dussan.org Git - nextcloud-server.git/commit
fix(tests): Ensure ldap server can be reached in integration tests on GitHub Actions...
authorFerdinand Thiessen <opensource@fthiessen.de>
Sun, 29 Oct 2023 17:51:33 +0000 (18:51 +0100)
committerJoas Schilling <coding@schilljs.com>
Fri, 26 Jan 2024 12:53:34 +0000 (13:53 +0100)
commit52cc18efc0baa916b23350fe5fbb0b0081af5def
treec7f2760679e0b14189396af7ce3c44f574065857
parentb64d03279586c0b26ca73818e9d5110176d8ae7b
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>
.github/workflows/integration-sqlite.yml
build/integration/config/behat.yml
build/integration/features/bootstrap/LDAPContext.php
build/integration/ldap_features/openldap-numerical-id.feature [deleted file]
build/integration/ldap_features/openldap-uid-username.feature [deleted file]
build/integration/openldap_features/openldap-uid-username.feature [new file with mode: 0644]
build/integration/openldap_numerical_features/openldap-numerical-id.feature [new file with mode: 0644]