diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 58d0ca445..357b4fe30 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -62,6 +62,10 @@ jobs:
       - name: Checkout code
         uses: actions/checkout@v4
 
+      - uses: actions/setup-python@v5
+        with:
+          python-version: '3.10'
+    
       - name: Upgrade python tools
         shell: bash
         run: |