This commit is contained in:
jpic 2020-02-14 20:33:43 +01:00
parent c8c281ebcf
commit f8432035b2
3 changed files with 3 additions and 2 deletions

View File

@ -6,5 +6,5 @@ pypi:
stage: deploy
test:
image: yourlabs/python
script: pip install -U . && py.test -svv tests
script: pip install -U .[test] && py.test -svv tests
stage: test

View File

@ -10,6 +10,7 @@ setup(
test=[
'pytest',
'pytest-cov',
'pytest-asyncio',
],
),
author='James Pic',

View File

@ -5,7 +5,7 @@ gitlabci = GitLabCIConfig(
Job('test',
stage='test',
image='yourlabs/python',
script='pip install -U . && py.test -svv tests',
script='pip install -U .[test] && py.test -svv tests',
),
Job('pypi',
stage='deploy',