Skip to content

Added installation of LDAP dependencies to workflow. #2

Added installation of LDAP dependencies to workflow.

Added installation of LDAP dependencies to workflow. #2

Workflow file for this run

name: Django CI
on:
push:
branches: [ "feature/github-action" ]
pull_request:
branches: [ "develop" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
PYTHON_VERSION: 3.10
steps:
- uses: actions/checkout@v3
- name: Install OpenLDAP dependencies
run: sudo apt install libsasl2-dev python-dev libldap2-dev libssl-dev
- name: Set up Python $PYTHON_VERSION
uses: actions/setup-python@v3
with:
python-version: $PYTHON_VERSION
- name: Install latest pip
run: python -m pip install --upgrade pip
- name: Install python dependencies
run: pip install -r requirements.txt
- name: Run Tests
run: python manage.py test