Skip to content
Snippets Groups Projects
Commit f57b0ae1 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:
- install
- test
install:
stage: install
script:
- pip install virtualenv
- cd server
- python -m venv env
- source env/bin/activate
- pip install -r requirements.txt
test:
stage: test
script:
- cd server
- pytest --cov app test/
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