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 stage: deploy
test: test:
image: yourlabs/python image: yourlabs/python
script: pip install -U . && py.test -svv tests script: pip install -U .[test] && py.test -svv tests
stage: test stage: test

View File

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

View File

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