Skip to content
Snippets Groups Projects
Commit bcbaca6b authored by Albin Henriksson's avatar Albin Henriksson
Browse files

#2: Refactored server yml file

parent 30fb141e
No related branches found
No related tags found
2 merge requests!8Issue/2 test front end,!6Issue/2 test front end
This commit is part of merge request !8. Comments created here will be created in the context of that merge request.
stages:
- server-install
- server-test
- client-install
- client-test
......
image: python
cache:
paths:
- server/env/
before_script:
stage: server-install
- python --version
- pip install virtualenv
- cd server/
- python -m venv env
- source env/bin/activate
- pip install -r requirements.txt
test-server:
image: python
cache:
paths:
- server/env/
stage: server-test
script:
- python --version
- pip install virtualenv
- cd server/
- python -m venv env
- source env/bin/activate
- pip install -r requirements.txt
- 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