Commit 5ed41ea2 authored by Mark Swillus's avatar Mark Swillus
Browse files

Add test to pipeline

parent 4dbd46e3
Pipeline #5964 failed with stage
in 1 minute and 15 seconds
__pycache__
.coverage
coverage.xml
stages:
- test
test:
stage: test
image: python:3.9
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/pip-cache"
cache:
key: "pip-cache"
paths:
- "$CI_PROJECT_DIR/pip-cache"
before_script:
- python -V
- pip install -r requirements.txt -r requirements-dev.txt
script:
- pytest -v --cov=isitup
- coverage xml
coverage: '/^TOTAL.+?(\d+\%)$/'
artifacts:
reports:
cobertura: coverage.xml
......@@ -3,4 +3,6 @@ black==20.8b1
asgi_lifespan
pytest==6.2.1
pytest-asyncio
pytest-watch
pytest-cov
httpx[http2]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment