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
stages: stages:
- server-test - setup
- test
- client-install - client-install
- client-test - client-test
......
server-setup:
test-server:
image: python image: python
cache: stage: setup
artifacts:
paths: paths:
- server/env/ - server/env
stage: server-test expire_in: 15 min
untracked: true
script: script:
- python --version - python --version
- pip install virtualenv - pip install virtualenv
...@@ -13,4 +13,11 @@ test-server: ...@@ -13,4 +13,11 @@ test-server:
- python -m venv env - python -m venv env
- source env/bin/activate - source env/bin/activate
- pip install -r requirements.txt - pip install -r requirements.txt
server-test:
image: python
stage: test
dependencies:
- server-setup
script:
- pytest --cov app tests/ - 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