Skip to content

Commit e873b3a

Browse files
Update GH action
1 parent e0d7e22 commit e873b3a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yml

+9
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ jobs:
2727
ports:
2828
- 389:389
2929
- 636:636
30+
options: >-
31+
--health-cmd "ldapwhoami -x"
32+
--health-interval 10s
33+
--health-start-period 60s
34+
--health-timeout 10s
35+
--health-retries 6
3036
strategy:
3137
matrix:
3238
ruby:
@@ -59,6 +65,9 @@ jobs:
5965
- name: Set up /etc/hosts
6066
run: |
6167
echo '127.0.0.1 ldap.example.org' | sudo tee -a /etc/hosts
68+
sudo apt-get install -y ldap-utils
69+
ldapsearch -x -H ldap://localhost:389 -b '' -s base namingContexts || \
70+
ldapsearch -x -H ldap://ldap.example.org:389 -b '' -s base namingContexts
6271
- name: Install dependencies
6372
run: pwd; bundle install
6473
- name: Run tests

0 commit comments

Comments
 (0)