diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ef54a13..cf4527d 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -35,6 +35,9 @@ jobs:
       - name: Set up the environment
         uses: ./.github/actions/setup-poetry-env-only-main
 
+      - name: just add pytest for running tests
+        run: poetry add pytest
+
       - name: Check if documentation can be built
         run: make test-only-main