diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2f0fb8b8b429867d4ccd50379d7d9483e8beec51..5fbe8a9e175f09515d02cafd1fe8c4b53f6156ae 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -114,6 +114,9 @@ jobs:
 
                 sed -i "/egg=pytools/ c git+file://$(readlink -f ..)#egg=pytools" requirements.txt
 
+                # HACK: force overwrite even if it's already there (e.g. as a pyopencl dep)
+                sed -i '/egg=pytools/ s/^/-e/' requirements.txt
+
                 export CONDA_ENVIRONMENT=.test-conda-env-py3.yml
 
                 # Avoid slow or complicated tests in downstream projects