Skip to content
Snippets Groups Projects
Commit 9f66da68 authored by Albin Henriksson's avatar Albin Henriksson
Browse files

#7: Separated server test and report pipline tasks

parent 65bf9bb4
No related branches found
No related tags found
1 merge request!12Issue/7 add test coverage report
Pipeline #34220 passed
......@@ -39,6 +39,23 @@ server:test:
- source env/bin/activate
- pytest --cov app tests/
- coverage xml
artifacts:
paths:
- server/coverage.xml
expire_in: 5 min
server:report:
image: python
stage: report
needs: ["server:test"]
only:
refs:
- dev
- merge_requests
changes:
- server/**/*
script:
- cd server
- python coverage_report.py
artifacts:
reports:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment