summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2021-10-05 12:43:04 +0100
committerGitHub <noreply@github.com>2021-10-05 12:43:04 +0100
commit6f6e9563387124eb4b4f324e4e1720291015a458 (patch)
treefe4fe7fe7fd15764a6478b4f34cb58058af70573
parentUpdate links to MSCs in documentation (#10991) (diff)
downloadsynapse-6f6e9563387124eb4b4f324e4e1720291015a458.tar.xz
Run CI with Python 3.10 and Postgres 14 (#10992)
-rw-r--r--.github/workflows/tests.yml14
-rw-r--r--changelog.d/10992.misc1
2 files changed, 8 insertions, 7 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index fa9c5e036a..96c39dd9a4 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -76,11 +76,11 @@ jobs:
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        python-version: ["3.6", "3.7", "3.8", "3.9"]
+        python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
         database: ["sqlite"]
         include:
           # Newest Python without optional deps
-          - python-version: "3.9"
+          - python-version: "3.10"
             toxenv: "py-noextras,combine"
 
           # Oldest Python with PostgreSQL
@@ -88,10 +88,10 @@ jobs:
             database: "postgres"
             postgres-version: "9.6"
 
-          # Newest Python with PostgreSQL
-          - python-version: "3.9"
+          # Newest Python with newest PostgreSQL
+          - python-version: "3.10"
             database: "postgres"
-            postgres-version: "13"
+            postgres-version: "14"
 
     steps:
       - uses: actions/checkout@v2
@@ -256,8 +256,8 @@ jobs:
           - python-version: "3.6"
             postgres-version: "9.6"
 
-          - python-version: "3.9"
-            postgres-version: "13"
+          - python-version: "3.10"
+            postgres-version: "14"
 
     services:
       postgres:
diff --git a/changelog.d/10992.misc b/changelog.d/10992.misc
new file mode 100644
index 0000000000..60432a559c
--- /dev/null
+++ b/changelog.d/10992.misc
@@ -0,0 +1 @@
+Update GHA config to run tests against Python 3.10 and PostgreSQL 14.