forked from Github-Mirrors/canaille
Fixed GHA slapd installation
This commit is contained in:
parent
50e42969e3
commit
c515a8ed6a
1 changed files with 7 additions and 3 deletions
10
.github/workflows/tests.yaml
vendored
10
.github/workflows/tests.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue