summary refs log tree commit diff
path: root/.ci/scripts/calculate_jobs.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-11-01 13:07:54 +0000
committerGitHub <noreply@github.com>2022-11-01 13:07:54 +0000
commit5905ba12d0c652b77ffc677196c7e31addb0eedf (patch)
tree31219ce34956bf5092cc06fec604f2950922c77a /.ci/scripts/calculate_jobs.py
parentRevert "Fix event size checks (#13710)" (diff)
downloadsynapse-5905ba12d0c652b77ffc677196c7e31addb0eedf.tar.xz
Run trial tests against Python 3.11 (#13812)
Diffstat (limited to '')
-rwxr-xr-x.ci/scripts/calculate_jobs.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/.ci/scripts/calculate_jobs.py b/.ci/scripts/calculate_jobs.py
index c2198e0dd4..f82eec231a 100755
--- a/.ci/scripts/calculate_jobs.py
+++ b/.ci/scripts/calculate_jobs.py
@@ -33,7 +33,7 @@ IS_PR = os.environ["GITHUB_REF"].startswith("refs/pull/")
 
 trial_sqlite_tests = [
     {
-        "python-version": "3.7",
+        "python-version": "3.11",
         "database": "sqlite",
         "extras": "all",
     }
@@ -46,13 +46,13 @@ if not IS_PR:
             "database": "sqlite",
             "extras": "all",
         }
-        for version in ("3.8", "3.9", "3.10")
+        for version in ("3.8", "3.9", "3.10", "3.11")
     )
 
 
 trial_postgres_tests = [
     {
-        "python-version": "3.7",
+        "python-version": "3.11",
         "database": "postgres",
         "postgres-version": "10",
         "extras": "all",
@@ -62,7 +62,7 @@ trial_postgres_tests = [
 if not IS_PR:
     trial_postgres_tests.append(
         {
-            "python-version": "3.10",
+            "python-version": "3.11",
             "database": "postgres",
             "postgres-version": "14",
             "extras": "all",
@@ -71,7 +71,7 @@ if not IS_PR:
 
 trial_no_extra_tests = [
     {
-        "python-version": "3.7",
+        "python-version": "3.11",
         "database": "sqlite",
         "extras": "",
     }