From d60b798f685705bf17e64a6026ca02cdb30f4505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89loi=20Rivard?= Date: Thu, 7 Nov 2024 11:45:59 +0100 Subject: [PATCH] chore: another attempt to fix GHA style step --- .github/workflows/tests.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 2fa2d547..e30e1e91 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -80,6 +80,16 @@ jobs: enable-cache: true - name: Run linters run: | + sudo apt update + sudo DEBIAN_FRONTEND=noninteractive apt --yes --quiet install apparmor-utils libsasl2-dev python3-dev libldap2-dev libssl-dev slapd ldap-utils + - name: App armor configuration for slapd + if: ${{ !env.ACT }} + run: sudo aa-complain /usr/sbin/slapd + - name: Run tests + run: | + # python tzinfo fails on 'act' without this + ulimit -n 1024 + export TZ=UTC uv sync --all-extras uv run pre-commit run --all-files