cic-stack/apps/cic-cache/docker/run_tests.sh

11 lines
304 B
Bash
Raw Normal View History

2021-08-28 18:26:16 +02:00
#! /bin/bash
set -e
2021-12-10 15:55:50 +01:00
pip install --extra-index-url https://pip.grassrootseconomics.net \
2021-08-28 18:26:16 +02:00
--extra-index-url https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple \
-r test_requirements.txt
export PYTHONPATH=. && pytest -x --cov=cic_cache --cov-fail-under=90 --cov-report term-missing tests