From f8432035b26bbfef1ae692eed1e47d700df2bb8b Mon Sep 17 00:00:00 2001 From: jpic Date: Fri, 14 Feb 2020 20:33:43 +0100 Subject: [PATCH] wip --- .gitlab-ci.yml | 2 +- setup.py | 1 + shlaxfile.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ec0510..b559397 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/setup.py b/setup.py index 9c8a635..078df4b 100644 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ setup( test=[ 'pytest', 'pytest-cov', + 'pytest-asyncio', ], ), author='James Pic', diff --git a/shlaxfile.py b/shlaxfile.py index 8f5eab6..ca7be7a 100755 --- a/shlaxfile.py +++ b/shlaxfile.py @@ -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',