diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e771a19912c20b3ecfd3ddca21eae61367c72c6f..2d7921cb413e853281525dbe120a2c320f104946 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,6 +13,6 @@ jobs:
       - uses: actions/setup-python@v2
         with:
           python-version: ${{ matrix.python-version }}
-      - run: pip install black pytest mock
+      - run: pip install black pytest mock -r requirements.txt
       - run: make schema
-      - run: py.test -m "not hw_raspberrypi and not mqtt"
+      - run: PYTHONPATH=${{ GITHUB_WORKSPACE }} py.test -m "not hw_raspberrypi and not mqtt"