summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Gliech <quenting@element.io>2023-03-02 12:14:44 +0100
committerGitHub <noreply@github.com>2023-03-02 11:14:44 +0000
commit7ec1f096d3e66c7cd857e75bef229688c73a9868 (patch)
treeae8ff3de9890586c61f7efba022e84a51bf22a50
parentMove event_reports to `RoomWorkerStore` (#15165) (diff)
downloadsynapse-7ec1f096d3e66c7cd857e75bef229688c73a9868.tar.xz
Add Sytest jobs with the asyncio reactor enabled (#14101)
Diffstat (limited to '')
-rwxr-xr-x.ci/scripts/calculate_jobs.py15
-rw-r--r--.github/workflows/tests.yml1
-rw-r--r--changelog.d/14101.misc1
3 files changed, 17 insertions, 0 deletions
diff --git a/.ci/scripts/calculate_jobs.py b/.ci/scripts/calculate_jobs.py
index 0cdc20e19c..b41ec0b6e2 100755
--- a/.ci/scripts/calculate_jobs.py
+++ b/.ci/scripts/calculate_jobs.py
@@ -109,12 +109,27 @@ sytest_tests = [
         "postgres": "multi-postgres",
         "workers": "workers",
     },
+    {
+        "sytest-tag": "focal",
+        "postgres": "multi-postgres",
+        "workers": "workers",
+        "reactor": "asyncio",
+    },
 ]
 
 if not IS_PR:
     sytest_tests.extend(
         [
             {
+                "sytest-tag": "focal",
+                "reactor": "asyncio",
+            },
+            {
+                "sytest-tag": "focal",
+                "postgres": "postgres",
+                "reactor": "asyncio",
+            },
+            {
                 "sytest-tag": "testing",
                 "postgres": "postgres",
             },
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index cfafeaadc9..48a33c2f49 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -368,6 +368,7 @@ jobs:
         SYTEST_BRANCH: ${{ github.head_ref }}
         POSTGRES: ${{ matrix.job.postgres && 1}}
         MULTI_POSTGRES: ${{ (matrix.job.postgres == 'multi-postgres') && 1}}
+        ASYNCIO_REACTOR: ${{ (matrix.job.reactor == 'asyncio') && 1 }}
         WORKERS: ${{ matrix.job.workers && 1 }}
         BLACKLIST: ${{ matrix.job.workers && 'synapse-blacklist-with-workers' }}
         TOP: ${{ github.workspace }}
diff --git a/changelog.d/14101.misc b/changelog.d/14101.misc
new file mode 100644
index 0000000000..c48f40cd38
--- /dev/null
+++ b/changelog.d/14101.misc
@@ -0,0 +1 @@
+Run the integration test suites with the asyncio reactor enabled in CI.