Skip to content
Snippets Groups Projects
Commit a3ce2dea authored by Victor Löfgren's avatar Victor Löfgren
Browse files

#3: Add server test pipline

parent acffcad4
No related branches found
No related tags found
No related merge requests found
__pycache__
*.db
*/env
*.coverage
\ No newline at end of file
*.coverage
.pytest_cache
\ No newline at end of file
image: python
stages:
- setup
- test
setup:
stage: setup
script:
- cd server
- pip install virtualenv
- python -m venv env
- source env/bin/activate
- pip install -r requirements.txt
artifacts:
paths:
- server/env
test:
stage: test
script:
- cd server
- source env/bin/activate
- pytest --cov app tests/
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