Add Sytest jobs with the asyncio reactor enabled (#14101)
							parent
							
								
									65f10afb64
								
							
						
					
					
						commit
						7ec1f096d3
					
				| 
						 | 
				
			
			@ -109,11 +109,26 @@ 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",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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 }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
Run the integration test suites with the asyncio reactor enabled in CI.
 | 
			
		||||
		Loading…
	
		Reference in New Issue