diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 598aff5da1d20d7797b8d454fa7a72fb21d88267..2dbdc314d2c31bee3274f58021cf05d90dc9657b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -16,7 +16,7 @@ jobs:
       - run: pip install pytest mock -r requirements.txt
       - run: make schema
       - run: pip install black
-        if: matrix.python-version != "2.7"
+        if: matrix.python-version != '2.7'
       - run: make black
-        if: matrix.python-version != "2.7"
+        if: matrix.python-version != '2.7'
       - run: PYTHONPATH=$GITHUB_WORKSPACE py.test -m "not hw_raspberrypi and not mqtt"