From 8c4f270ad6ad6776cee6444b558d93661488a84b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=89loi=20Rivard?= <eloi@yaal.coop>
Date: Thu, 24 Nov 2022 16:09:47 +0100
Subject: [PATCH] Fixed GHA apt packages for the doc and coverage targets

---
 .github/workflows/tests.yaml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index c7c78585..2d2fd4fc 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -43,7 +43,11 @@ jobs:
       - uses: actions/checkout@v3
       - uses: actions/setup-python@v2
         with:
-          python-version: '3.10'
+          python-version: '3.11'
+      - name: Install apt dependencies
+        run: sudo apt-get --yes install apparmor-utils libsasl2-dev python3-dev libldap2-dev libssl-dev slapd ldap-utils
+      - name: App armor configuration for slapd
+        run: sudo aa-complain /usr/sbin/slapd
       - uses: actions/cache@v1
         with:
           path: ~/.cache/pip
@@ -61,6 +65,10 @@ jobs:
       - uses: actions/setup-python@v2
         with:
           python-version: '3.11'
+      - name: Install apt dependencies
+        run: sudo apt-get --yes install apparmor-utils libsasl2-dev python3-dev libldap2-dev libssl-dev slapd ldap-utils
+      - name: App armor configuration for slapd
+        run: sudo aa-complain /usr/sbin/slapd
       - uses: actions/cache@v1
         with:
           path: ~/.cache/pip