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

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

View file

@ -22,12 +22,14 @@ steps:
- MCAPTCHA_captcha_SALT=4d08c163c0b9780e7462893fd8aed5102c2c509f - MCAPTCHA_captcha_SALT=4d08c163c0b9780e7462893fd8aed5102c2c509f
- MCAPTCHA_redis_URL=redis://cache/ - MCAPTCHA_redis_URL=redis://cache/
- MCAPTCHA_redis_POOL=4 - MCAPTCHA_redis_POOL=4
- MCAPTCHA_allow_demo=true
backend: test:
image: python image: python
commands: commands:
- sleep 20 - pip install virtualenv && virtualenv venv
- curl http://mcaptcha:7000/api/v1/meta/health - make env
- make test
# - apt-get install -y --no-install-recommends protobuf-compiler # - apt-get install -y --no-install-recommends protobuf-compiler
# - cargo build # - cargo build
# - cargo test --lib # - cargo test --lib