diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e4b78f26..7497aee3 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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