From ecae859316c2d9d99a6bb0deccefd0ccf65c4562 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sun, 31 Dec 2023 21:10:17 +0530 Subject: [PATCH] feat: CI: setup and run tests --- .woodpecker.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index b13c47e..600733d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -22,12 +22,14 @@ steps: - MCAPTCHA_captcha_SALT=4d08c163c0b9780e7462893fd8aed5102c2c509f - MCAPTCHA_redis_URL=redis://cache/ - MCAPTCHA_redis_POOL=4 + - MCAPTCHA_allow_demo=true - backend: + test: image: python commands: - - sleep 20 - - curl http://mcaptcha:7000/api/v1/meta/health + - pip install virtualenv && virtualenv venv + - make env + - make test # - apt-get install -y --no-install-recommends protobuf-compiler # - cargo build # - cargo test --lib