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:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: normal
|
GIT_SUBMODULE_STRATEGY: normal
|
||||||
|
|
||||||
install:
|
test:
|
||||||
stage: build
|
|
||||||
script:
|
script:
|
||||||
- pip install pipenv
|
- pip install pipenv
|
||||||
- pipenv install
|
- pipenv install
|
||||||
|
|
||||||
pytest:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- pipenv run pytest
|
- pipenv run pytest
|
||||||
|
|
Loading…
Reference in a new issue