Skip to content
Snippets Groups Projects
Commit 959c35a8 authored by Christian Rohlfing's avatar Christian Rohlfing
Browse files

Update .gitlab-ci.yml

parent 9cea7dba
No related branches found
No related tags found
No related merge requests found
Pipeline #455329 failed
......@@ -29,7 +29,18 @@ build:
test:
stage: test
script:
- docker run --name examscan --rm -v $(pwd):$(pwd) -w $(pwd) ${CI_REGISTRY_IMAGE}:latest watermark.py --i pdfs --o out
- docker run --name examscan --rm -v $(pwd):$(pwd) -w $(pwd) ${CI_REGISTRY_IMAGE}:latest batch.py --i pdfs --o out
artifacts:
paths:
- out/
test-coverage:
image: ${CI_REGISTRY_IMAGE}:latest
stage: test
script:
- pip install pytest pytest-cov
- pytest --cov=./ tests
- coverage xml
artifacts:
reports:
cobertura: coverage.xml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment