Skip to content
Snippets Groups Projects
Commit 64dce747 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
stages:
- setup
- test
include:
- local: .gitlab/server.gitlab-ci.yml
image: python
cache:
paths:
- server/venv/
before_script:
- python --version
- pip install virtualenv
- cd server/
- python -m venv env
- source env/bin/activate
- pip install -r requirements.txt
server-test:
stage: test
script:
- 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