diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml
index 796f137..aa622b8 100644
--- a/.github/workflows/codspeed.yml
+++ b/.github/workflows/codspeed.yml
@@ -19,7 +19,12 @@ jobs:
           python-version: "3.11"
 
       - name: Install dependencies
-        run: pip install -r requirements.txt && pip install pytest pytest-codspeed
+      run: |
+        python -m pip install --upgrade pip
+        pip install flake8 pytest pytest-cov pytest-codspeed
+        # Install "cmake", "cython" for networkit. Must happen first:
+        pip install --upgrade cmake cython 
+        pip install -e ".[sql,networkit,igraph]"
 
       - name: Run benchmarks
         uses: CodSpeedHQ/action@v2