diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index b41c9a02b8bdc9b6c63b208e0cc4cfe2ef5822c8..f544aa5f1a88e60308483f43207be9346ce24b6f 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -21,16 +21,14 @@ jobs:
     strategy:
       matrix:
         os:
-          - ubuntu-latest
+          - ["ubuntu", "ubuntu-latest"]
     runs-on: ${{ matrix.os }}
     steps:
       - uses: actions/checkout@v4
       - name: Set up Python (3.9)
         uses: actions/setup-python@v5
         with:
-          # We can give multiple python versions, but no py2.x any more
-          python-version: |
-            "3.9"
+          python-version: "3.9"
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip