Skip to content

Commit e0d7e22

Browse files
Update test action
1 parent fefe9eb commit e0d7e22

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,14 @@ jobs:
1919
INTEGRATION: openldap
2020
runs-on: ubuntu-latest
2121
services:
22-
openldap:
22+
'ldap.example.org':
2323
image: osixia/openldap:1.4.0
2424
env:
2525
LDAP_SEED_INTERNAL_LDIF_PATH: ${{ github.workspace }}/test/fixtures/ldif
2626
LDAP_TLS_VERIFY_CLIENT: try
2727
ports:
2828
- 389:389
2929
- 636:636
30-
options: >-
31-
--hostname ldap.example.org
3230
strategy:
3331
matrix:
3432
ruby:
@@ -58,6 +56,9 @@ jobs:
5856
# osixia/openldap:1.3.0 \
5957
# --copy-service \
6058
# --loglevel debug \
59+
- name: Set up /etc/hosts
60+
run: |
61+
echo '127.0.0.1 ldap.example.org' | sudo tee -a /etc/hosts
6162
- name: Install dependencies
6263
run: pwd; bundle install
6364
- name: Run tests

0 commit comments

Comments
 (0)