Skip to content
Snippets Groups Projects

Resolve "Improve gitlab pipelines"

Merged Victor Löfgren requested to merge issue/5-improve-gitlab-pipelines into dev
2 files
+ 15
7
Compare changes
  • Side-by-side
  • Inline
Files
2
  • f7b82334
    #5: Test artifacts for server test · f7b82334
    Victor Löfgren authored
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/
Loading