Skip to content

Commit e80b673

Browse files
committed
Stop system slapd - slapdtest will create its own test instances
Signed-off-by: tdruez <[email protected]>
1 parent 324f517 commit e80b673

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/run-unit-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ jobs:
5050
# # Disable AppArmor for slapd to allow slapdtest to create temp instances
5151
# sudo aa-disable /usr/sbin/slapd
5252

53-
- name: Install apt dependencies
53+
- name: Install python-ldap OS dependencies
5454
run: |
55-
set -ex
56-
sudo apt update
57-
sudo apt install -y ldap-utils slapd enchant-2 libldap2-dev libsasl2-dev apparmor-utils
58-
- name: Disable AppArmor
59-
run: sudo aa-disable /usr/sbin/slapd
55+
sudo apt-get update
56+
sudo apt-get install -y libldap2-dev libsasl2-dev slapd ldap-utils
57+
# Stop system slapd - slapdtest will create its own test instances
58+
sudo systemctl stop slapd
59+
sudo systemctl disable slapd
6060
6161
- name: Install dependencies
6262
run: make dev envfile

0 commit comments

Comments
 (0)