test: added check for USERNAME_FIELD #335
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
- push | |
- pull_request | |
jobs: | |
build: | |
name: Documentation | |
runs-on: ubuntu-latest | |
env: | |
TOXENV: docs | |
steps: | |
- name: Install LDAP libs | |
run: | | |
sudo apt-get update | |
# https://www.python-ldap.org/en/latest/installing.html#debian | |
sudo apt-get install slapd ldap-utils libldap2-dev libsasl2-dev | |
# https://github.com/python-ldap/python-ldap/issues/370 | |
sudo apt-get install apparmor-utils | |
sudo aa-disable /usr/sbin/slapd | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
- name: Install dependencies | |
run: python -m pip install tox | |
- name: Run | |
run: tox |