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

#5: Test artifacts for server test

parent 9b824308
No related branches found
No related tags found
1 merge request!7Resolve "Improve gitlab pipelines"
stages:
- server-test
- setup
- test
- client-install
- client-test
......
test-server:
server-setup:
image: python
cache:
stage: setup
artifacts:
paths:
- server/env/
stage: server-test
- server/env
expire_in: 15 min
untracked: true
script:
- python --version
- pip install virtualenv
......@@ -13,4 +13,13 @@ test-server:
- python -m venv env
- source env/bin/activate
- pip install -r requirements.txt
server-test:
image: python
stage: test
dependencies:
- server-setup
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