From affc605f6c53b84a588382fa58dc234ae5284ea3 Mon Sep 17 00:00:00 2001 From: ahmedsobeh Date: Fri, 12 Jul 2024 09:52:29 +0200 Subject: [PATCH 1/3] added uvloop tests invoking to run-tests job Signed-off-by: ahmedsobeh --- .github/workflows/integration.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 168c0dae..80368db4 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -80,6 +80,7 @@ jobs: invoke devenv sleep 10 # time to settle invoke ${{matrix.test-type}}-tests + invoke ${{matrix.test-type}}-tests --uvloop - uses: actions/upload-artifact@v4 if: success() || failure() From 3e3effe4442af59aad33b07763de7856b7456514 Mon Sep 17 00:00:00 2001 From: ahmedsobeh Date: Fri, 12 Jul 2024 15:01:57 +0200 Subject: [PATCH 2/3] excluded pypi from uvloop tests Signed-off-by: ahmedsobeh --- .github/workflows/integration.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 80368db4..b9e3981e 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -80,7 +80,9 @@ jobs: invoke devenv sleep 10 # time to settle invoke ${{matrix.test-type}}-tests - invoke ${{matrix.test-type}}-tests --uvloop + if [[ "${{matrix.python-version}}" != pypy-* ]]; then + invoke ${{matrix.test-type}}-tests --uvloop + fi - uses: actions/upload-artifact@v4 if: success() || failure() From 14b8f57b22606f8cb11c3add1f082726a2b6e0d1 Mon Sep 17 00:00:00 2001 From: ahmedsobeh Date: Fri, 12 Jul 2024 15:12:13 +0200 Subject: [PATCH 3/3] enabled uvloop for all resp3 tests except pypi Signed-off-by: ahmedsobeh --- .github/workflows/integration.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index b9e3981e..21194f0c 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -114,7 +114,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10'] test-type: ['standalone', 'cluster'] connection-type: ['hiredis', 'plain'] exclude: @@ -140,7 +140,9 @@ jobs: invoke devenv sleep 10 # time to settle invoke ${{matrix.test-type}}-tests --protocol=3 - invoke ${{matrix.test-type}}-tests --uvloop --protocol=3 + if [[ "${{matrix.python-version}}" != pypy-* ]]; then + invoke ${{matrix.test-type}}-tests --uvloop --protocol=3 + fi - uses: actions/upload-artifact@v4 if: success() || failure()