diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6b83a7ee071f453589c08e7289dda6c3d8b5d156..8367171b561a33e1004b94acf41b98d26b44d6bd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -282,7 +282,7 @@ variables: # this directory writable by anybody (which, # unintuitively, includes nobody) - chmod -R a+w `pwd` - - su -s /bin/bash -c 'python setup.py test --addopts="$TEST_OPTS tests/test_immv_imcp.py"' nobody + - su -s /bin/bash -c 'source test.venv/bin/activate && python setup.py test --addopts="$TEST_OPTS tests/test_immv_imcp.py"' nobody # All other tests can be run as normal - python setup.py test --addopts="$TEST_OPTS --ignore=tests/test_async.py --ignore=tests/test_platform.py --ignore=tests/test_immv_imcp.py"