Turns out stages are isolated from each other, so we need to do the build and the test in one script
This commit is contained in:
parent
247bce0996
commit
6ceb800723
1 changed files with 1 additions and 6 deletions
|
@ -2,13 +2,8 @@ image: python:3.6
|
|||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: normal
|
||||
|
||||
install:
|
||||
stage: build
|
||||
test:
|
||||
script:
|
||||
- pip install pipenv
|
||||
- pipenv install
|
||||
|
||||
pytest:
|
||||
stage: test
|
||||
script:
|
||||
- pipenv run pytest
|
||||
|
|
Loading…
Reference in a new issue