feat: CI: setup and run tests
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Aravinth Manivannan 2023-12-31 21:10:17 +05:30
parent 0fb88fb39a
commit ecae859316
Signed by: realaravinth
GPG Key ID: F8F50389936984FF
1 changed files with 5 additions and 3 deletions

View File

@ -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