diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 192d876344d7118df4c6e0fda26ab99023d79465..4c5eb11192ae0d6c777d670b9f0630085899f273 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,9 +20,8 @@ test_topfarm_windows:  # name the job what we like
   stage:  # build, test, deploy defined by default [2]
     test
   script:
-  #- activate pyTopfarm
   - cd tests
-  - py.test --cov-report term-missing:skip-covered --cov=topfarm
+  - c:/Anaconda3/envs/pyTopfarm/python.exe -m pytest --cov-report term-missing:skip-covered --cov=topfarm
   tags:  # select which runners can do this job [3]
   - CPAV_old_PC