13 lines
502 B
YAML
13 lines
502 B
YAML
steps:
|
|
backend:
|
|
image: python
|
|
commands:
|
|
- apt-get update
|
|
- apt-get install -y ca-certificates curl gnupg tar wget libssl-dev python3-pip cython3 pipx
|
|
- pipx install --include-deps ansible
|
|
- pipx ensurepath && echo $SHELL
|
|
- /root/.local/bin/ansible-playbook ./ansible/mcaptcha.yml --connection=local
|
|
- pipx install --include-deps pytest-testinfra
|
|
- cd tests/cache/ && py.test --verbose base.py
|
|
- cd tests/mcaptcha/ && py.test --verbose base.py
|
|
|