feat: init CI
This commit is contained in:
parent
9922989d5d
commit
dcc821782e
1 changed files with 13 additions and 0 deletions
13
.woodpecker.yml
Normal file
13
.woodpecker.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
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 pytest-testinfra
|
||||
- cd tests/cache/ && py.test --verbose base.py
|
||||
- cd tests/mcaptcha/ && py.test --verbose base.py
|
||||
|
Loading…
Reference in a new issue