Skip to content
Snippets Groups Projects
Commit f7b82334 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
No related merge requests found
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
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,11 @@ 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:
- pytest --cov app tests/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment