diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index 196f10f8a91fa4c232ca15006a62c727158f0235..b258dafc2559614d6cac62f87aff8f58bb4dff3c 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -8,10 +8,10 @@ jobs:
     runs-on: "ubuntu-${{ matrix.ubuntu }}.04"
     strategy:
       matrix:
-        python: [2, 3]
+        python: [3]
         ubuntu: [18, 20, 22]
-        exclude:
-          - ubuntu: 22
+        include:
+          - ubuntu: 18
             python: 2
     steps:
       - uses: actions/checkout@v3