Merge pull request #3235 from drodowic/beta-banner #40
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: Unit | |
on: | |
pull_request: | |
branches: | |
- '**' | |
paths-ignore: | |
- 'docs/**' | |
push: | |
branches: | |
- '**' | |
workflow_dispatch: | |
jobs: | |
pytest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
# - name: Update apt | |
# run: sudo apt -y update | |
# - name: Install LDAP requirements | |
# run: sudo apt-get install -y libsasl2-dev python3 libldap2-dev libssl-dev build-essential | |
# - name: Install docker-compose | |
# run: pip3 install --upgrade docker-compose | |
- name: build the image | |
run: make dev/build | |
- name: start the containers | |
run: make dev/up_detached | |
- name: wait for stack to settle | |
run: sleep 360 | |
- name: start the tests | |
run: make dev/test |