Fixed GHA slapd installation

This commit is contained in:
Éloi Rivard 2022-11-24 15:53:25 +01:00
parent 50e42969e3
commit c515a8ed6a

View file

@ -27,11 +27,15 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install apt dependencies
run: sudo apt-get --yes install apparmor-utils libsasl2-dev python-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
key: pip|${{ hashFiles('setup.py') }}|${{ hashFiles('tox.ini') }}
- run: pip install tox poetry
- run: pip install tox poetry coveralls pyyaml tomli
- run: tox -e py
style:
runs-on: ubuntu-latest
@ -48,7 +52,7 @@ jobs:
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}
- run: pip install tox poetry
- run: pip install tox poetry coveralls pyyaml tomli
- run: tox -e style
doc:
runs-on: ubuntu-latest
@ -61,5 +65,5 @@ jobs:
with:
path: ~/.cache/pip
key: pip|${{ hashFiles('setup.py') }}|${{ hashFiles('tox.ini') }}
- run: pip install tox poetry
- run: pip install tox poetry coveralls pyyaml tomli
- run: tox -e doc