From dcc821782e740b2efee6054d9acc9fb823baaca3 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sat, 9 Dec 2023 03:55:20 +0530 Subject: [PATCH] feat: init CI --- .woodpecker.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .woodpecker.yml diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..347e353 --- /dev/null +++ b/.woodpecker.yml @@ -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 +